7

コマンドを使用して MSBuild を使用してコマンド ラインから .sqlproj を発行しようとして msbuild /t:Publish [MySqlProjPath]いますが、次のエラーが表示されます。

error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

私が奇妙だと思うのは、Visual Studio 2012 から同じプロジェクトを正常に発行できることです。Visual Studio は、別のディレクトリから .targets ファイルを取得するために公開する前に、魔法の msbuild プロパティを設定しますか?

4

1 に答える 1