Version conflict detected for NuGet packages

前端 未结 3 1353

I am working on an ASP.Net core 2.1 web app project. I have 1 project in my solution and 3 other libraries, it\'s and advanced architecture (data access layer (DAL)

3条回答
  •  醉梦人生
    2021-01-29 07:36

    The issue is because you're having local directory path to one of your {projectName}.csproj file Kindly review your .csproj files by Right clicking project and select Edit {projectName}.scproj

    e.g

    
          ..\..\..\..\..\..\..\Program Files\dotnet\sdk\NuGetFallbackFolder\Microsoft.EntityFrameworkCore\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.dll
        
    

    If yes than go to Nuget Package Manager and add your library bu selecting nuget.org as Package Source

    after restoring from nuget Package manager csproject file will have following tag Added to

    
    

    Here {projectName} is the name of C# project.

提交回复
热议问题