-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Detected package downgrade: Microsoft.AspNetCore.SpaServices.Extensions from 2.1.1 to 2.1.0. #9576
Comments
Im not trying to be impolite, but last days/weeks I have a lot of such issues on .NET Core. What is going on? More important: how can I fix this? |
|
Yes, there are a lot of related issues. Lots of folks are working hard on improving the experiences around this.
I believe this would be the correct handling here. |
@gkonterman sorry this has been frustrating. I have been working hard on making improvements as soon as we can get it into a new SDK. I would recommend removing the PackageReference to See also these issues for some ongoing discussion on what we hope to do to fix problems in this space: |
@nguerrera @natemcmaster Thank you both 👍 |
I just created a ticket on this and sent this to MSFT. I was trying to create a self hosted build agent for ASP.NET Core, and got the same message. Not sure how to make this go away. The build machine, VS, does not have projects and is just required by the build agent to the build. Please help..... |
If you are on .NET Core 2.1, remove the PackageReference to Microsoft.AspNetCore.SpaServices.Extensions. This is part of the Microsoft.AspNetCore.App metapackage. |
Thanks @natemcmaster :) worked well 👍 |
What other References are part of the Microsoft.AspNetCore.App metapackage, because we are also experiencing this issue. |
@ChristopherLClark open "Dependencies" on the nuget package |
I keep running into a similar issue only in Visual Studio on my mac. I have no idea how to fix this. I can run it fine Visual Studio 2017 on windows, and I can run the code in VS Code with the c# extension. Running dotnet build will work fine on the projects, but trying to run it through Visual Studio 2017 on mac does not build. |
Steps to reproduce
csproj
Expected behavior
It should build and work
Actual behavior
Errors:
error NU1605: Detected package downgrade: Microsoft.AspNetCore.SpaServices.Extensions from 2.1.1 to 2.1.0. Reference the package directly from the project to select a different version.
error NU1605: LogicTrade.Connect.UI.React -> Microsoft.AspNetCore.App 2.1.1 -> Microsoft.AspNetCore.SpaServices.Extensions (>= 2.1.1 && < 2.2.0)
error NU1605: LogicTrade.Connect.UI.React -> Microsoft.AspNetCore.SpaServices.Extensions (>= 2.1.0)
Environment data
dotnet --info
output:The text was updated successfully, but these errors were encountered: