MSBuild target package not found

2020-01-24 21:00发布

I want to package my VS2010 web application project ready for deployment with msdeploy. On development machine I can do this using:

MSBuild.exe "C:\path\to\WebApp.csproj" /target:package

But on my build server I get this error:

error MSB4057: The target "package" does not exist in the project.

What am I missing on the build server?

7条回答
\"骚年 ilove
2楼-- · 2020-01-24 21:25

You may install MSBuild.Microsoft.VisualStudio.Web.targets package. No need to manually copy targets to build server.

查看更多
登录 后发表回答