Reset Visual Studio C ++ Project Settings

I changed some parameters in a Visual Studio C ++ project, and now I don’t remember how to “return”. Is it possible to reset the build settings?

I do not mean the IDE settings (menu Tools → Import and Export Settings).

+3
source share
4 answers

The " devenv / resetsettings " command will return Visual Studio back to its original factory state.

You can find a list of devenv switches here.

+2
source

/ Visual Studio (*.vcproj) .

+1

, ?!

, , reset a " ",,

(csproj, vcxproj) , .

If you want to reset the value "Enable isolation", you must delete this text.

<AllowIsolation>true</AllowIsolation>

If project files are loaded by Visual Studio, values ​​that are not explicitly defined in the file are assumed to be used by default. This will only work if the property has a default value (cannot change it).

NOTE. This is NOT the same as deleting a value from the Project Properties Dialog in VS. This method writes an empty value to your project file.

0
source

Source: https://habr.com/ru/post/1717546/


All Articles