vcxproj

Upgrading VS2017 from 15.4.1 to 15.5.1 resulted in build error

混江龙づ霸主 提交于 2021-02-04 17:09:17
问题 I'm programming with the following tools/versions: Windows 10 / VS2017 Professional / C++ After I upgraded to 15.5.1 I got the following error: MIDL2338: switches are contradictory - no_robust vs. - target The Microsoft compiler error description list says: You cannot use both the /osf and /ms_ext command-line switches when you compile an IDL file. None of those switches are specified in my project properties. I tried to downgrade back to 15.4.1 but have found that it's impossible to revert

visual studio project files

六眼飞鱼酱① 提交于 2019-12-20 11:04:11
问题 What is the difference between a .vcproj and a .vcxproj Visual Studio project file? Is the .vcproj format only available in versions of Visual Studio prior to 2010? I ask because I am reading an MSDN tutorial dated 10/12 which says to insert text into a certain area of the .vcproj file that doesn't exist in the .vcxproj file. Trying to put the text in a similar area breaks the project. 回答1: Build System Changes Project files no longer use the .vcproj file name extension. Visual Studio

How to get actual project output using microsoft.build.evaluation.project in c#

馋奶兔 提交于 2019-12-13 17:32:54
问题 I need to know the actual output file name full path in a project. I use microsoft.build.evaluation.project to open a project with the correct properties, and i tried using the properties TargetPath, TargetDir, TargetFileName, but i can't find a consistent property to give me the output file name with the path. In some projects it works, and in some it doesn't. I work both on csproj files and vcxproj files. 回答1: Output path is related to project folder. You can get its value from project file

MSBUILD 14.0 Visual Studio 2015 CustomBuild Command environment does not contain the result of a SetEnv even though Exec does

一世执手 提交于 2019-12-11 00:01:18
问题 I have used CoApp to create a nuget package to package some code generators (binaries). I want to be able to use these code generators in a msbuild custombuild step to generate the code I have a targets file that defines the following (using CoApp) <SetEnv Condition="'$(Platform.ToLower())' == 'x64' And '$(PlatformToolset.ToLower())' == 'v100' And ( $(Configuration.ToLower().IndexOf('debug')) == -1 )" Name="PATH" Prefix="true" Value="$(MSBuildThisFileDirectory)../..//build/native/bin/x64\v100

visual studio project files

妖精的绣舞 提交于 2019-12-03 01:08:44
What is the difference between a .vcproj and a .vcxproj Visual Studio project file? Is the .vcproj format only available in versions of Visual Studio prior to 2010? I ask because I am reading an MSDN tutorial dated 10/12 which says to insert text into a certain area of the .vcproj file that doesn't exist in the .vcxproj file. Trying to put the text in a similar area breaks the project. Garry Build System Changes Project files no longer use the .vcproj file name extension. Visual Studio automatically converts project files that were created by an earlier release of Visual C++ to the format that