我只是下载并启动Visual Studio(Xamarin项目)。但是有一个错误的NU1101。 [英] I am just download and start Visual Studio (Xamarin Project). But there is an ERROR NU1101.
问题描述
请帮我解决。
错误:
" Severity 代码
描述 项目
文件 行
抑制状态
错误 NU1101
无法找到包System.Numerics.Vectors。源中没有包含此ID的包:Microsoft Visual Studio脱机包
SimpleApp D:\Download\XAMARIN \SimpleApp \SimpleApp \SimpleApp.csproj
1 "
嗨丹
欢迎来到MSDN论坛。
此错误通常表示无法在任何来源上找到包。
解决方案1:检查项目在Visual Studio中的依赖关系,以确保您使用
正确的包标识符和版本号。还要检查
NuGet配置标识您预期使用的包源。
解决方案2:
在Visual Studio中转到 工具   ; - > NuGet
包管理器 - > 包管理器设置 。这里选择 Package
Sources 左侧树中的选项卡。您应该看到以下内容:
如果 nuget.org 包源
$手动添加b $ b
缺失,点击右上角的绿色加号按钮并设置:
- 名称: nuget.org
- 来源: https://api.nuget.org/v3/index.json
真诚
月跨度>
Help me please to fix it.
Error:
"Severity Code Description Project File Line Suppression StateError NU1101 Unable to find package System.Numerics.Vectors. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages SimpleApp D:\Download\XAMARIN\SimpleApp\SimpleApp\SimpleApp.csproj 1 "
Hi Dan
Welcome to the MSDN forum.
This error usually shown the package cannot be found on any sources.
The solution 1: Examine the project's dependencies in Visual Studio to be sure you're using the correct package identifier and version number. Also check that the NuGet configuration identifies the package sources you are expected to be using.
The solution 2: In Visual Studio go to Tools -> NuGet Package Manager -> Package Manager Settings. Here select the Package Sources tab in the tree on the left. You should see the following:
If the nuget.org package source is missing, add it manually by clicking the green plus button in the top right corner and setting:
- Name: nuget.org
- Source: https://api.nuget.org/v3/index.json
Sincerely
May
这篇关于我只是下载并启动Visual Studio(Xamarin项目)。但是有一个错误的NU1101。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!