Questions tagged [vcxproj]
84 questions
2
votes
1 answer
Sync files/directory automatically to Visual Studio project
I'm trying to automatically add an entire folder structure to a VS C++ makefile project. This isn't to make the project build (it'll always build from the scons file), I mostly want to use VS to edit the code/find in projects/intellisense etc.
I've…

FrozenKiwi
- 1,362
- 13
- 26
1
vote
1 answer
C++ "error C1010: unexpected end of file while looking for precompiled header" when adding new .h and corresponding .cpp just for new files
Background...
Code project in C++
Project uses a precomp.h precompiled header
Project contains Foo.h and Foo.cpp
Foo.h does not reference precomp.h
Foo.cpp starts with #include "precomp.h" and #include "Foo.h"
No build issues
Problem...
I am…

overcaffeinated
- 23
- 6
1
vote
2 answers
Launch emulator from windows command line receive error G67247B7E
Newbee here. Trying to run the android emulator for the generic first_app flutter application.
Run flutter run -d windows
Receive:
C:\Development\Flutter\first_app>flutter run -d windows
Launching lib\main.dart on Windows in debug…

wyokid2008
- 11
- 3
1
vote
0 answers
Visual Studio ignores UseDebugLibraries from .props
I have the following .props file, generated with CMake (but this does not seem to be a CMake problem):

user2281752
- 145
- 1
- 9
1
vote
1 answer
Simple and easy way to move visual studio vcxproj files from one folder to another
So I have a bunch of vcxproj files under the following folder
E:.
├───vddproject
│ └───scrproj
│ └───pjrdir
│ └───winsix
│ └───Arithmetic.vcxproj
There are bunch of vcxproj under winsix, I have taken one example…
user11004963
1
vote
0 answers
.vcxproj File's Import Declaration Causing Error In Visual Studio 2019
This line which appears twice in .vcxproj files:
Seems to be causing this QT error when loading the solution in VS2019:
ProjectName.vcxproj: background build ERROR: The imported project…

Phanerona
- 11
- 2
1
vote
1 answer
Clearcase - Unite two files into one file with united History
I have two different files each with its own history, I want to unite them as one, but keep both histories.
For example (My actual issue):
I have x.vcproj and x.vcxproj, after converting from older visual studio to a newer one (I don't even remember…

Juv
- 744
- 7
- 12
1
vote
1 answer
What does the BuildMacro element do in Visual studio properties and projects?
I have seen this several times:
trunk
$(SomePropertyName)
…

Tomáš Zato
- 50,171
- 52
- 268
- 778
1
vote
2 answers
Project vcpkg settings missing from Visual Studio Project Properties
One of my vcxproj's (with a vcpkg.json) looks like this
And another one (with a vcpkg.json) looks like this. Note the missing option.
But I need to be able to enable the vcpkg Manifest so it can compile! I'm stuck, where did this option go? Both…

Jonathan
- 6,741
- 7
- 52
- 69
1
vote
2 answers
Visual Studio clears command line arguments when begins to run
In my solution, I have a Visual C++ project which uses
Platform Toolset = Visual Studio 2013 (v120)
which I am opening in Visual Studio 2019.
If I edit the Project Properties > Configuration Properties > Debugging > Command arguments to something ,…

sergiol
- 4,122
- 4
- 47
- 81
1
vote
1 answer
How to set the Output and Intermediate Directory in Visual Studio C++ projects generated by CMake, using Visual Studio Macros?
Here is the final desired result in Visual Studio 2019 for any C/C++ project:
The key part that I am looking for are the top 2 lines in this MSVC project properties dialog:
"Output Directory":…

Ger Hobbelt
- 1,126
- 1
- 11
- 16
1
vote
1 answer
Missing CompileAs option on vcxproj generated by cmake 3.18.1
When I generate the .vcxproj for my project with cmake 3.2.1, it generates the line CompileAsCpp
But when I try the cmake version 3.18.1, the generated .vcxproj file does not contain that previous line causing my tests to fail…

Yassin LOKHAT
- 11
- 2
1
vote
0 answers
Qmake appends '1' to output file name when building a dll project for VS2017
I've come across an issue when building a VS2017 solution from a qmake .pro file, using the 'Qt Vs Tools' plugin.
When I try to indicate that my output file is to be a .dll, I'm met with confusing behaviours.
I have set TEMPLATE = lib and do not…

sh3rifme
- 1,054
- 1
- 11
- 26
1
vote
1 answer
How can I get VS to consider my project dirty when (only) an .exe Content item is dirty?
My C++ project includes a set of (non-code) files that need to be copied to the output directory verbatim. I added them to my .vcxproj as Content nodes with CopyToOutputDirectory set to PreserveNewest. For example:

dlf
- 9,045
- 4
- 32
- 58
1
vote
0 answers
Windows container fails to build VS 2013 C++ project with error MSB6006: “midl.exe” exited with code -2147024774
I should be able to build a C++ project on a windows docker container using MSBuild.exe
Command:
C:\'Program Files (x86)'\MSBuild\12.0\Bin\MSBuild.exe .\TestNative.sln /p:Configuration=Release /p:Platform=x64 /m /t:Build /p:ResGenExecuteAsTool=true…

KatariaA
- 752
- 1
- 7
- 22