Does anyone know the components that must be installed to make Package
Target available through MSBuild.
You can use Package
using MSBuild on a computer with Visual Studio installed, but not on the build server with only the .NET 4 SDK and Web Deploy 2.0 installed, resulting in the following error:
msbuild "Package" does not exist in the project.
This applies in part to the following missing files on the server:
c:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\*.*
Of course, this can be solved by copying the contents of the MSBuild VisualStudio folder to the equivalent directory on the build server, but this is not a managed solution for server configuration.
All the answers that I read are related to installing Visual Studio or copying files. Is it possible to compile the Web Deploy package without installing Visual Studio?
source share