0

MSBuild 内で MSDeploy タスクを使用しようとしています (コマンド ラインから呼び出すのではなく)。このタスクは MSBuild に組み込まれていると思っていましたが、タスクを見つけるのに苦労しているようです。私が得ているエラーは以下のとおりです。Web 配置ツールを再インストールして、役立つかどうかを確認しました。

C:\CLIENTS\DAM\Components\Umbraco\SiteTemplate_v6_1_6\Build>msbuild MSBuildScript.csproj -t:Deploy_v2
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18052]

<!-- some other stuff -->

error MSB4036: The "MSDeploy" task was not found. Check
     the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and imple
    ments the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks
    files located in the "c:\Windows\Microsoft.NET\Framework\v4.0.30319" directory.
4

1 に答える 1