Welcome to MSDN Blogs Sign in | Join | Help

Difference between MSBuild and devenv

What is the difference between compiling the projects using MSBuild and devenv ?

1. Developers using
        a. Devenv  ABC.vcproj /Build <Configuration_To_Build>
2. Team Build internally uses:
        a. MSBuild ABC.vcproj
 

Well it depends on what kind of projects you are trying to build. Heres the explanation..

Devenv use msbuild. But MSBuild does not build Visual C++ projects. If msbuild encounters a solution that contains a VC++ project, it calls VCBuild.  This is the same behavior as inside DevEnv  .

If the projects are using C++, then MSBuild is not called.  Devenv uses MSBuild to process solution files.  If MSBuild sees a VCProj, it calls VCBuild.  If there is a vb.net or C# project, then msbuild handles building the project.


Thanks to Jerel Frauenheim for explaining this with diagram.

Published Monday, May 07, 2007 7:11 PM by srikanth_r
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Thursday, May 10, 2007 10:12 AM by Team System News

# VSTS Links - 05/10/2007

Srikanth R on Difference between MSBuild and devenv. Paul Hacker on Add the TFS LinksControl to your...

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker