0

自動展開プロセスを完了しようとしています。this question for further infoを参照してください。私はVS2010で私のMVCプロジェクトを右クリックし、 "Build deployment package"を選択すると、ビルドに成功し、これがリモートサーバーに展開されます。私は、次のコマンドを実行すると、ビルドが失敗します。ビルド展開パッケージと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コマンドラインが失敗したときに成功したか?

+0

doh ...今、私がエラーをもう一度見たとき、それは完全に明白です。 @ハンスPassantのおかげで、あなたが答えを投稿すると幸いにそれ以外のユーザーエラーが再び表示されます..: - / – Jon

答えて

1

エラー:このエラーを回避するために昇格したコマンドプロンプトから権限が不十分に

実行のMSBuildを設定ファイルを読み込むことができません。 Visual Studioを昇格させるのと同じ手順です。または、これが必要でないように、ビルドフォルダの権限を変更します。

関連する問題