Solved

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

Posted on 2008-10-27
2
898 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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 technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

635 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