package restore failure
See original GitHub issueAfter upgrading to 1.0.0, I am unable to restore packages. I get the following error:
Version conflict detected for Microsoft.CodeAnalysis.CSharp.
DemoApp (>= 1.0.0) -> DemoApp.Library (>= 1.0.0) -> RazorLight (>= 1.0.0) -> Microsoft.CodeAnalysis.CSharp (>= 1.3.2)
DemoApp (>= 1.0.0) -> Microsoft.VisualStudio.Web.CodeGeneration.Design (>= 1.1.0) -> Microsoft.VisualStudio.Web.CodeGeneration.Utils (>= 1.1.0) -> Microsoft.CodeAnalysis.CSharp.Workspaces (>= 1.3.0) -> Microsoft.CodeAnalysis.CSharp (>= 1.3.0).
Downgrading to 1.0.0-rc2 resolves the issue.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:22 (8 by maintainers)
Top Results From Across the Web
Troubleshooting NuGet Package Restore in Visual Studio
This error indicates that package restore is disabled in your NuGet configuration. You can change the applicable settings in Visual Studio as ...
Read more >Package restore failed. Rolling back package changes
When I am trying to install any nuget package in VS2017 for asp.net core. it is constantly showing "Package restore failed.
Read more >Package restore failed. Rolling back package changes
1. In Visual Studio 2019, goto Tools > Options > Nuget Package Manager >Package Manager Setting > General > Clear All Nuget Cache(s)....
Read more >Nuget restore is failed in Windows build. · Issue #10586
Sometimes dotnet build command is failed on Nuget restore step. The error: error NU1101: Unable to find package <package name>.
Read more >Visual Studio 2019 - Nuget package restore failed
It seems it has to do with packages.config. I used Migrate packages.config to PackageReference... and then it worked, even with older package ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I use project.json. To fix the dependency conflicts, I added the following packages to my project:
I will add this to FAQ, closing the issue