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.
Asked
Active
Viewed 2,714 times
10

pcbabu
- 2,219
- 4
- 22
- 32
-
1It is a linker option. Usually the very last thing done in a build so hard to guess what the question could be about. Forcing it to NO while the project is building certainly makes little sense. Describe what you expect to happen and what actually happens. Change the MSBuild verbosity and show the trace it generates. – Hans Passant Feb 14 '14 at 15:35
-
1The configuration setting in the project properties does not take effect? When you disable the Incremental Build setting it should be work forever in that project. – Mauro H. Leggieri Feb 20 '14 at 13:49
-
@MauroH.Leggieri yes forever that project... how to make it forever for that ide? – pcbabu Feb 20 '14 at 14:00
-
@pcbabu usually new projects are based on templates. I were you I'll do a research on this. It may exist a template that can be edited and force the setting Off from scratch. – Mauro H. Leggieri Feb 22 '14 at 00:20
-
@Mauro you are in exact point. But in cpp project I have only option. I was guiding few student writing their first code. But 2012 may not for beginners and they always face problem here. Thats why I posted here and started bounty. But problem not solved. – pcbabu Feb 22 '14 at 04:34
-
@pcbabu I did a research and edited my answer. – Mauro H. Leggieri Feb 23 '14 at 03:10
2 Answers
2
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.

Mauro H. Leggieri
- 1,084
- 11
- 25