本文介绍了Visual Studio 2017 包与 netcoreapp2.1 NU1202 不兼容错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试运行我的项目时,我都会收到此 NU1202 错误,这是我公司提供的自定义软件包之一.我试过删除文件夹并从远程重新克隆,但无济于事.

Whenever I try to run my project I keep getting this NU1202 error, for one of the custom packages provided by my company. I've tried deleting the folder and recloning from remote, to no avail.

奇怪的是,它对我团队中的其他人来说效果很好.

The odd thing is that it works just fine for other people in my team.

推荐答案

这个答案解决了我的问题:https://stackoverflow.com/a/34935038/1794871

This answer fixed my problem:https://stackoverflow.com/a/34935038/1794871

这是由于 VS2017 使用了在我的机器中本地缓存的包.必须删除它们并下载最新版本.

It was due to VS2017 using packages which were cached locally in my machine. They had to be removed and the latest version downloaded.

这篇关于Visual Studio 2017 包与 netcoreapp2.1 NU1202 不兼容错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 16:49