Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for msbuild.exe v12.0 to the msbuild task #33

Open
icnocop opened this issue Jun 2, 2014 · 3 comments
Open

Add support for msbuild.exe v12.0 to the msbuild task #33

icnocop opened this issue Jun 2, 2014 · 3 comments

Comments

@icnocop
Copy link

icnocop commented Jun 2, 2014

I would like to be able to use the msbuild task to build Visual Studio 2013 solutions and projects.

Currently, specifying:

<property name="nant.settings.currentframework" value="net-4.0"/>
<msbuild
  project="C:\Test\Test.sln"
  target="Build"
  verbosity="Detailed">
  <property name="Configuration" value="Debug" />
  <property name="Platform" value="Mixed Platforms" />
</msbuild>

Will execute msbuild.exe from "C:\Windows\Microsoft.NET\Framework\v4.0.30319".

With Visual Studio 2013, the path to msbuild.exe has changed.
See "What's New in MSBuild 12.0" here: http://msdn.microsoft.com/en-us/library/hh162058.aspx
MSBuild is now installed directly under %ProgramFiles%—for example, in C:\Program Files\MSBuild.

For example, for Visual Studio 2013/MSBuild 12.0, "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" should be used.

Thank you.

@danielcaldwell
Copy link

+1

1 similar comment
@FrancoisBeaune
Copy link

+1

@ruaanviljoen
Copy link

+1 for MSBuild 12 and higher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants