MVC MSBuild

  1. Here how I worked it around at my system. Edit the Microsoft.Web.Publishing.AspNetConfigurationMerge.targets file and add the following line. Please make sure that the Microsoft SDK path is the same on your PC, if not then change it: <TargetFrameworkSDKToolsDirectory>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\</TargetFrameworkSDKToolsDirectory>
  2. msbuild *.sln /p:DeployOnBuild=true;PublishProfile=profile.pubxml

posted on 2014-05-27 15:35  架构师师  阅读(444)  评论(0编辑  收藏  举报

导航