Questions tagged [vcproj]

vcproj is an XML based file used by Visual Studio and contains compilation information.

vcproj is an XML based file used by Visual Studio and contains compilation information. It's part of every visual studio project.

What are .sln and .vcproj files, and what do they contain?

50 questions
37
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,468
  • 1
  • 12
  • 21
19
votes
2 answers

Can the working directory be set in the project (.vcproj) file?

I have a script that generates a .sln file and a few .vcproj files for visual studio 2005. I need to set the WorkingDirectory option but its specified in the .user file. A file we cannot currently generate. I found the vcproj file definition at…
Mizipzor
  • 45,705
  • 20
  • 92
  • 136
15
votes
4 answers

How to generate .sln/.vcproj using qmake

I have main.cpp in c:\test folder and do the following: qmake -project qmake -tp vc test.pro The answer is: WARNING: Unable to generate output for: C:/test//Makefile.Debug [TEMPLATE vcapp] WARNING: Unable to generate output for:…
stas
  • 601
  • 2
  • 6
  • 9
12
votes
1 answer

Automatically include all .cpp/.h files of a folder in a vcproj Project in Visual Studio

Is there a way to set a vcproj Project folder in order to automatically include all .cpp or .h files depending on the path of the project ? On other words, when adding files to the folder of my project using Windows explorer, is it possible to…
oaimac
  • 756
  • 2
  • 10
  • 27
12
votes
2 answers

VS2008: how to run two separate projects from the same solution

I have a single un-managed C++ console-app solution (.sln) with two projects (.vcproj) both are built as .exe. I want to run them both at the same time (one is a client and one is a server). How do I configure my Visual Studio such that when I hit a…
sivabudh
  • 29,317
  • 56
  • 156
  • 219
7
votes
4 answers

qmake processes my pro-file three times instead of one

This is entire pro file: message("This message should appeare only once!!!") CONFIG += qt SOURCES += src/main.cpp I invoke qmake in the following way: set QMAKESPEC=win32-msvc2008 set QTDIR=c:\Qt\4.8.4_vs2008\ call "C:\Program Files…
tmporaries
  • 1,343
  • 7
  • 21
  • 35
7
votes
6 answers

How to have different Project Dependencies for each Project Configuration?

I would like to have different Project Dependencies depending on which Project Configuration I'm currently building. For example, I don't want to build and link SomeTestLib.vcproj in Release configuration, but I'd like to build and link to it in…
k0dek0mmand0
  • 300
  • 3
  • 10
6
votes
0 answers

LoadLibrary API Fails with 998 (ERROR_NOACCESS)

The API LoadLibrary() fails with my MFC application when run over a Windows 7 64-bit PC. It returns error 998 for a specific DLL. This DLL is built over a 32-bit machine. But no issues to load other DLLs. I have tried excluding this MFC application…
njohn
  • 61
  • 5
6
votes
2 answers

How do I force Visual Studio 2008 to save vcproj files with correct locale?

In my team, some are developing using Swedish locale (albeit with English language) and others are using US-English. I prefer Swedish formatting of date/time/number/currency. There's a bug in the formatting of the version field in the vcproj file…
Macke
  • 22,774
  • 6
  • 76
  • 108
6
votes
2 answers

Visual Studio: how to only run Custom Build Step when 'necessary'

I am using a Custom Build Step to copy the built DLL (i.e. $(TargetPath)) of a C++ project to a different location on disk. I've set the Output of the Custom Build Step to the destination DLL path, and Additional Dependencies to $(TargetPath) - the…
mackenir
  • 9,910
  • 14
  • 62
  • 95
5
votes
4 answers

Where can I find a reference for the .vcproj file structure?

I looked on MSDN, couldn't find it. I found an XML Schema for the .vcproj file, which is nice. But what I really want is an explanation for each of the elements in the vcproj file, a reference. The immediate question in front of me is, what is the…
Cheeso
  • 180,104
  • 92
  • 446
  • 681
4
votes
1 answer

getting the value of $(ProjectDir), $(SolutionDir) in a vcproj file

Is it possible to get the value of $(ProjectDir) or $(SolutionDir) programatically outside Visual Studio? My scenario is I need to read a vcproj file as a text file and get its properties like the outputdirectory etc.. problem is some properties…
3ggerhappy
  • 223
  • 2
  • 4
  • 13
4
votes
2 answers

No .sln or .vcporj files get generated from runhooks when compiling Chromium

So I'm attempting my first Chrome build just for fun and I've gotten all the files I want through gclient config and sync. However, there are no project files that VS can open, just a bunch of .gyp files that are useless to me. The command 'gclient…
joelg
  • 317
  • 2
  • 11
4
votes
2 answers

Can I get the GUID generated by CMake for a specific vcproj at cmake time?

Preamble: I am trying to integrate my C# csproj with the rest of our C++ and C++/CLI code-base cmake build. I have received advise against trying to do this, because CMake doesn't co-operate well with .NET in Visual Studio, but after implementing…
Kohanz
  • 1,362
  • 14
  • 34
3
votes
2 answers

Xerces and Xalan-C for windows

Would like to port Xerces and Xalan to latest Microsofy Visual Studio (2010). For Xerces, all I have to do is download from site Xcerces version 3.1.1. But it is not preintegrated with Xalan-C. only Xalan-C 1.10 and Xerces 2.7 are pre…
1
2 3 4