简体   繁体   中英

NuGet Local Package Not Found

I am currently in the process of upgrading from Entity Framework 4.0 to 5.0. In order to do this I am required to open the Visual Studio package manager and execute:

install-package entityframework -pre

The problem is, when I run this command I get the following error message: 在此处输入图片说明

The problem is, 'gmts-logger' is not a NuGet package, it is a local project, so I don't understand why NuGet has anything to do with it. I'm stumped. How do I resolve this?

This error occurs when gmts-logger does not exist on the way provided in Reference path. Try to do following steps:

  • Right click your project and choose Unload Project
  • After it's unloaded right click your solution and pick edit your project
  • find Reference for gmts-logger and correct path where it physically exists
  • Reload project and via NuGet Package manager install entityframework

通过导航到每个项目并从所有“ packages.config”文件中删除所有对“ gmts-logger”的引用,我解决了该问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM