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.
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.
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.
© 2022 - 2024 — McMap. All rights reserved.