Solved

How can I set output dir in msbuild for a C++ project

Posted on 2008-10-27
2
870 Views
Last Modified: 2013-11-26
I'm creating a Team Build process for a project. The TFS server and Team Foundation Build are 2008. The project is a C++ project. They use Visual Studio 2005 for the project. I want to be able to control where the output of the C++ project is put by setting a property in my team build project (in the best case scenario directly in my team build files not touching the .sln or .proj files which "belongs" to the project). Right now the resulting exe is dropped in the same dir as the solution file. It seems like OutDir would do the job in a C# project, but (if I understand this correctly) we are calling VCBuild.exe (indirectly from the .targets file) and I can't find a property that does the job.
0
Comment
Question by:lyasalillegard
2 Comments
 
LVL 17

Accepted Solution

by:
CSecurity earned 150 total points
ID: 22816117
Visual C++ Projects
To change the build output directory:

   1.

      On the Project menu, click Properties.
   2.

      Expand the Configuration Properties tab, and click General.
   3.

      Change the Output Directory box to the new output directory.




Taken from: http://msdn.microsoft.com/en-us/library/ms165410(VS.80).aspx
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now