Questions tagged [vcxproj]
84 questions
44
votes
1 answer
visual studio project files
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…

user987280
- 1,578
- 1
- 14
- 24
17
votes
5 answers
x64 build: error MSB8013: This project doesn't contain the Configuration and Platform combination of Debug|Win32
I'm trying to get a pure x64 build running for a complex build with many solutions (some for CI, some for devs) and hundreds of project and have run into "error MSB8013: This project doesn't contain the Configuration and Platform combination of…

user1825216
- 323
- 1
- 2
- 7
13
votes
2 answers
Upgrading VS2017 from 15.4.1 to 15.5.1 resulted in build error
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…

trishm
- 133
- 1
- 7
11
votes
2 answers
How do I specify "any Windows SDK version greater than 10.0" in a Visual Studio c++ project?
Developers here have different SDKs installed, I want my Visual Studio projects to use any available SDK greater than 10.0, without the need to specify exactly which one. Is there a way to do this?
In the vcxproj…

LLucasAlday
- 2,349
- 11
- 34
- 41
4
votes
1 answer
Building vcxproj file gives me a informationless error "The system cannot find the path specified"
When I build a project in vs 2017, I can get errors like this:
1>------ Build started: Project: TortoiseGitMerge, Configuration: Debug Win32 ------
1>Performing Custom Build Tools
1>The system cannot find the path specified.
1>C:\Program Files…

Anders Lindén
- 6,839
- 11
- 56
- 109
4
votes
1 answer
VS2017: How can I write per-file options in .vcxproj, without breaking the filters I've set up?
I learnt how to edit my .vcxproj file to compile some files with /Za and some without.
However it appears that since I'm adding elements to the .vcxproj file, the filters I have set up in the IDE are getting messed up, while the .vcxproj.filters…

Xenial
- 465
- 2
- 15
4
votes
2 answers
Write Properties (name=value) to a file from an MSBuild project
For an MSBuild project, I would like to output some kind of a .config file that would be redistributed along the generated binary so the parameters used at build time can be checked by the users of the binary, programmatically.
Output file…

polyvertex
- 749
- 6
- 15
3
votes
2 answers
Visual Studio compile option is grayed out for a single cpp file
I have been asked to help a colleague regarding a mysterious build error in one of the projects in a common solution. The build error happens in the linkage stage, a class constructor defined in a static lib (a.lib) is not found when it is used in a…

FrankS101
- 2,112
- 6
- 26
- 40
3
votes
1 answer
How to make local nuget packages and refference them across solutions locally in dotnet core
We have many libraries that are split across different solutions (separation of concerns). On each check in new nuget packages are build and the solutions depending on these other packages can updates their references.
In an ideal world, everything…

Poul K. Sørensen
- 16,950
- 21
- 126
- 283
3
votes
2 answers
Visual Studio 2015 vdproj -- Change or Remove Digital Signature
I've got a legacy Visual Studio solution file from a previous programmer that has a vdproj in it which produces a .msi installer. I'm using Visual Studio 2015 Community Edition, and in order to use the vdproj, I've installed the extension at this…

Deadpikle
- 356
- 6
- 22
3
votes
1 answer
Within a .vcxproj file what are the possible values for the and what do those values mean?
Within a .vcxproj file what are the possible values for the ConfigurationType and what do those values mean? -Or- where can I find this information on MSDN? I have had difficulty sellecting a good search string to answer my question.
I think I know…

amalgamate
- 2,200
- 5
- 22
- 44
2
votes
1 answer
“Treat all warnings as errors except…” in C++/CLI project
In C# projects (.csproj files), it is possible to treat all warnings as errors except a specific set of warnings. Typically, this makes sense for obsolete/deprecated warnings, as these are there specifically to not break a build while announcing an…

O. R. Mapper
- 20,083
- 9
- 69
- 114
2
votes
2 answers
Convert CMake.txt to .vcxproj file C++ Visual Studio project
It is any tool or possibility to convert a C++ CMake project into a C++ Visual Studio project with a .vcxproj file?
I need this because we want to offer CMake support at the project I'm working for, but we need to make this conversion first. I…

Ionut Enache
- 461
- 8
- 22
2
votes
3 answers
default platform tool set in Visual studio
I have installed VS 2015 and VS 2010. I have VCxproj and .sln file in VS 2010.
Now I want to Build the .sln file. I have open the project in VS 2015. But when i build it get build using VS 2010.
I want want that when I build using VS 2010 it should…

RAVINDER KUMAR Patel
- 77
- 5
2
votes
1 answer
MSBUILD 14.0 Visual Studio 2015 CustomBuild Command environment does not contain the result of a SetEnv even though Exec does
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…

Janitha Jayaweera
- 31
- 4