pcbabu
pcbabu

Reputation: 2329

How to stop incremental build of Visual Studio permanently?

I know about the property /incremental but it need to changed every time NO if I want to stop incremental build. Is there any way to stop it for all the projects permanently.

Upvotes: 10

Views: 2969

Answers (2)

Mauro H. Leggieri
Mauro H. Leggieri

Reputation: 1104

Well @apomene gives the details for C++.

Here are for C#

EDIT:

Doing a deeper research I scanned all files inside $(UserRootDir) and Visual Studio folder looking for the LinkIncremental tag, used by MSBuild to specify to do (or not) the incremental linking, but I don't find anything.

For the other side, inside many dll used by project wizards, they refer to the LinkIncremental tag and assume they finish setting up the project when one is created.

My conclusion is that you can develop a Visual Studio plugin and attach to some event when a project is created to set the VCLinkerTool.LinkIncremental to false.

Upvotes: 2

apomene
apomene

Reputation: 14389

You can set this from Incremental Property in Linker Properties Folder.

Go to: properties page->Linker Folder and from there modify Incremental Linking Property.

this is is a detailed reference.

Upvotes: 3

Related Questions