現在、Webプロジェクトのビルドサーバーをセットアップ中です。Web配置プロジェクトを使用して配置可能なパッケージを作成していて、簡単なファイル管理を行いたい(webDeploy.config-> web.configをコピーして.csprojファイルを削除する)。
私のターゲットは次のようになります。
<Target Name="AfterBuild">
<Delete Files="$(OutputPath)\*.csproj" />
</Target>
ただし、WDPの出力を調べると、これがわかります。
Target "AfterBuild" in file "C:\project\Deployment\Project.Deployment.wdproj":
Task "Delete"
File ".\Debug\*.*" doesn't exist. Skipping.
Done executing task "Delete".
Done building target "AfterBuild" in project "Project.Deployment.wdproj".
展開パスには、実際にデバッグパスが含まれています。私は何が間違っているのですか?