2

My MSBuild proj file is referencing Microsoft.Web.Publishing.targets. Even though microsoft says MSBuild is standalone installation, i dont think this file is part of MSBuild. I am trying to setup a build server. and i don't see this file at this location. We have installed .Net 4.5.2 installed on that server.

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\vXX.X\Web\Microsoft.Web.Publishing.targets

After researching I found, I have to install VisualStudio to get this at that location.

Questions
Is there any way to install this Target (and other Targets at this location) without having to install visual studio?

LP13
  • 30,567
  • 53
  • 217
  • 400

1 Answers1

2

Yes, you can use the MSBuild.Microsoft.VisualStudio.Web.targets package.

m0sa
  • 10,712
  • 4
  • 44
  • 91
  • 2
    Whilst this may theoretically answer the question, [it would be preferable](//meta.stackoverflow.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Bhargav Rao Mar 15 '16 at 08:45
  • 2
    The OP might also need the instruction how to install the package without VS: http://stackoverflow.com/questions/14894864/how-to-download-a-nuget-package-without-nuget-exe-or-visual-studio-extension – rene Mar 15 '16 at 09:52