Skip to content
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

ASP.NET Core 2.1 Web API wont start with Microsoft.AspNetCore.All 2.1.1 #3245

Closed
leecow opened this issue Jun 21, 2018 · 7 comments
Closed

Comments

@leecow
Copy link
Member

leecow commented Jun 21, 2018

Issue moved from dotnet/core#1712. Opened by @poteb

ASP.NET Core 2.1 Web API wont start with Microsoft.AspNetCore.All 2.1.1

I'm debugging my Web API from VS 2017 (15.7.1) and it's working with Microsoft.AspNetCore.All 2.1.0.
But if I update Microsoft.AspNetCore.All to 2.1.1 it wont start up. It doesn't even give me an exception, the console window flashes briefly and then the debugger detaches. Downgrading to 2.1.0 fixes this. No help in Windows event log.

dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 2.1.300
Commit: adab45bf0c

Runtime Environment:
OS Name: Windows
OS Version: 10.0.15063
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.1.300\

Host (useful for support):
Version: 2.1.0
Commit: caa7b7e2ba

.NET Core SDKs installed:
1.1.0 [C:\Program Files\dotnet\sdk]
2.0.0 [C:\Program Files\dotnet\sdk]
2.0.2 [C:\Program Files\dotnet\sdk]
2.1.200 [C:\Program Files\dotnet\sdk]
2.1.300 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

@WieserSoftware
Copy link

I'm seeing a similar thing.

I manually installed the runtime for 2.1.1
Microsoft.NETCore.App 2.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
but now I'm seeing this:
MPC> It was not possible to find any compatible framework version
MPC> The specified framework 'Microsoft.AspNetCore.All', version '2.1.1' was not found.
MPC> - Check application dependencies and target a framework version installed at:
MPC> C:\Program Files\dotnet
MPC> - Installing .NET Core prerequisites might help resolve this problem:
MPC> http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
MPC> - The .NET Core framework and SDK can be installed from:
MPC> https://aka.ms/dotnet-download
MPC> - The following versions are installed:
MPC> 2.1.0 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]

@neridonk
Copy link

The runtime seems to be only in the Microsoft.NETCore.App folder but not in Microsoft.AspNetCore.All

@WieserSoftware
Copy link

A similar error occurs when using the nuget package for Microsoft.ASPNetCore.App instead of .All

@Tratcher
Copy link
Member

Release 2.1.1 is still being deployed, please use 2.1.0 instead.

@poteb
Copy link

poteb commented Jun 21, 2018

The newest SDK (2.1.301) released today fixed my issue.

@phillijw
Copy link

phillijw commented Jul 10, 2018

I'm encountering this issue with 2.1.1 and 2.1.2

Edit: Updating from dotnet core sdk 2.1.300 to 2.1.302 fixes it for me

@Eilon
Copy link
Member

Eilon commented Jul 13, 2018

Closing this because it appears people have gotten this working. If anyone is still having a problem, please log a new issue with details and we will investigate. Thanks!

@Eilon Eilon closed this as completed Jul 13, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants