The referenced component 'EntityFramework' could not be found.

前端 未结 5 727
我在风中等你
我在风中等你 2020-12-15 05:29

So im downloading a project at home from work over team foundation server. I download the project and it won\'t compile because of the error. Warning 2 The referenced c

5条回答
  •  没有蜡笔的小新
    2020-12-15 06:07

    This happened to me, after I moved projects to a subfolder. Then, the relative paths to the packages folder were not correct anymore.

    Got errors like that:

    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\NETStandard.Library.2.0.1\build\netstandard2.0\NETStandard.Library.targets. PROJECTNAME D:\VSTS\TEAMPROJECT\src\PROJECTFOLDER\PROJECTNAME.csproj

    Fixed it by editing the *.csproj file and corrected the relative paths, in my case from ..\packages to ..\..\packages

    Also make sure to check the paths under

    
    

提交回复
热议问题