进口项目&#34;&#34;没找到。确认<import>声明中的路径是正确的,并且该文件存在于磁盘上。

时间:2017-08-08 09:47:01

标签: c# visual-studio-2015 microsoft-dynamics

我在Visual 2015中打开了一个项目但是我遇到了很多错误。这是错误之一:

C:\Users\Steve\Documents\MyProj\EFT\Connector.Sample\Connector.Sample.Desktop\PaymentSdk.Connector.Sample.Desktop.csproj : error  : The imported project "C:\Users\Steve\Documents\MyProj\EFT\BuildTools\Microsoft.Dynamics.RetailSdk.Build.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.  C:\Users\Steve\Documents\MyProj\EFT\Connector.Sample\Connector.Sample.Desktop\PaymentSdk.Connector.Sample.Desktop.csproj

当我双击它时,它会带我到这里:

Error

出了什么问题?我该如何修复错误?

我试过了:

msbuild.exe C:\Users\Steve\Documents\MyProj\EFT\Connector.Sample\Connector.Sample\PaymentSdk.Connector.Sample.csproj /p:VisualStudioVersion=14.0

但是我收到了这个错误:

C:\Users\Steve\Documents\MyProj\EFT\Connector.Sample\Connector.Sample\PaymentSdk.Connector.Sample.csproj(3,11): error MSB4019: The imported project "C:\Users\Steve\Documents\MyProj\EFT\BuildTools\Microsoft.Dynamics.RetailSdk.Build.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk

我正在使用Visual Studio 2015。

谢谢。

0 个答案:

没有答案