question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

package restore failure

See original GitHub issue

After 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
KolyaNETcommented, Apr 13, 2017

I use project.json. To fix the dependency conflicts, I added the following packages to my project:

    "Microsoft.CodeAnalysis.Common": "1.3.2",
    "Microsoft.CodeAnalysis.CSharp": "1.3.2",
    "Microsoft.CodeAnalysis.CSharp.Workspaces": "1.3.2",
    "Microsoft.CodeAnalysis.Workspaces.Common": "1.3.2",
1reaction
toddamscommented, Apr 13, 2017

I will add this to FAQ, closing the issue

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found