0
我正在尝试完成我的自动部署过程,请参阅this question for further info,它已关闭。我可以在VS2010中右键单击我的MVC项目并选择“构建部署包”,并成功构建它,并将其部署到远程服务器。当我运行下面的命令生成失败:构建部署包和msbuild t之间的区别:包
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe mvcproject.csproj /T:Package /p:Configuration=Deployment
我得到的错误是:
MSDEPLOY : error : Object of type 'manifest' and path 'C:\hoh_code\GIT\ai-poker- project\Packages\Deployment\PokerLeague
WebSite\PokerLeagueWebSite.SourceManifest.xml' cannot be created. [C:\hoh_code\GIT\ai-poker-project\Clients\PokerLeague
WebSite\PokerLeagueWebSite.csproj]
MSDEPLOY : error : One or more entries in the manifest 'sitemanifest' are not valid. [C:\hoh_code\GIT\ai-poker-project\
Clients\PokerLeagueWebSite\PokerLeagueWebSite.csproj]
MSDEPLOY : error : An error occurred when reading the IIS Configuration File 'MACHINE/REDIRECTION'. The identity perfor
ming the operation was 'wiggly\Jon'. [C:\hoh_code\GIT\ai-poker-project\Clients\PokerLeagueWebSite\PokerLeagueWebSite.cs
proj]
MSDEPLOY : error : Filename: \\?\C:\Windows\system32\inetsrv\config\redirection.config [C:\hoh_code\GIT\ai-poker-projec
t\Clients\PokerLeagueWebSite\PokerLeagueWebSite.csproj]
MSDEPLOY : error : Cannot read configuration file due to insufficient permissions [C:\hoh_code\GIT\ai-poker-project\Cli
ents\PokerLeagueWebSite\PokerLeagueWebSite.csproj]
我的印象是,右键单击我做了同样的事情的MSBuild的命令。我尝试将输出级别设置得更详细,但看不到正确触发它的命令(可能没有看到树的木头)。
我的问题是,我可以做些什么来让项目通过命令行构建,以便我可以在我的CI服务器上构建它(没有VS2010),以便它可以自动部署,为什么是VS2010命令行失败时成功吗?
doh ...现在你说,当我再次查看完全明显的错误时。 @Hans Passant谢谢,如果你作为回答发布会很高兴,除此之外,用户错误再次..: - / – Jon 2012-02-26 15:08:48