【发布时间】:2017-03-01 19:14:37
【问题描述】:
我正在尝试使用 Xamarin 和 Visual Studio 2015 与另一个具有源代码控制的朋友一起创建一个 android 应用程序。
一切都很顺利,直到我的朋友添加了一个项目并使用了 NuGet 包。
在我激活获取最新版本并尝试构建解决方案后,我收到了错误消息:
Severity Code Description Project File Line
Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props. iBuy.API C:\Users\איציק\Source\Workspaces\iBuy\IBuy\iBuy.API\iBuy.API.csproj 164
我针对这个问题查找了一些解决方案,并尝试卸载 Microsoft.CodeDom.Providers.DotNetCompilerPlatform 和 Microsoft.Net.Compilers 软件包并重新安装它们,但没有帮助。 我的解决方案中什至没有 \packages\Microsoft.Net.Compilers.1.0.0\build 文件夹。
已检查 NuGet 包还原中的所有内容,并且我的解决方案中没有任何“.nuget”文件。
我可以做些什么来消除该错误消息?
提前谢谢你!
【问题讨论】:
标签: c# android nuget visual-studio-2015 nuget-package