我只是下载并启动Visual Studio(Xamarin项目)。但是有一个错误的NU1101。 [英] I am just download and start Visual Studio (Xamarin Project). But there is an ERROR NU1101.

查看:778
本文介绍了我只是下载并启动Visual Studio(Xamarin项目)。但是有一个错误的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 State
Error 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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆