c++visual-studiovcxproj

C++ version in .vcxproj files


Is this possible to fetch project's standard of C++ language from .vcxproj files without opening Visual Studio and manually checking it?


Solution

  • I can not add comment. So I post answer here.

    In Visual Studio C++ project, LanguageStandard will not appear if the language standard has not been changed (Default C++14). After specifying the language explicitly and rebuilding the project, You will find LanguageStandard in the .vcxproj file.

    There should be similar code samples in C#.Good luck!