-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Microsoft.Extensions.DependencyModel 2.1.1 is missing from nuget #1707
Comments
Which packages are claiming a dependency on |
Could this be the reason, that my ASP.NET Core 2.1 API crashes if I update Microsoft.AspNetCore.All from 2.1.0 to 2.1.1? It doesn't even give me an error, the application never starts up, the debugger just stops. There is nothing in the event log. |
@poteb Have you installed the 2.1.301 SDK/runtime? It appears the 2.1.1 packages get released on nuget well in advance of the SDK/runtime required to actually use them becomes readily available! |
@DamianEdwards Is there a plan to release the SDK et al for 2.1.1 anytime soon? Or maybe pull the 2.1.1 package from NuGet until those bites are released? |
Unfortunately the SDK download has got caught up in an issue getting it posted to the download center. We're working to resolve it. We don't have a mechanism for removing packages from NuGet so this is just an unfortunate situation right now. Please note, for ASP.NET Core projects targeting <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
</Project> This is covered in the migration doc: https://docs.microsoft.com/en-us/aspnet/core/migration/20_21?view=aspnetcore-2.1 You're update process now simply is wait until the SDK is released and then install that. Once that's done, you'll start running on the new version. For packages that aren't included in |
I guess the issue is that projects, like libraries, don't reference that NuGet package. They'll reference the individual packages. And even if they did, because they don't havce the This is especially true of projects that have gone through an upgrade cycle of updating/ upgrading from .NET Core 1.x. This obviously isn't a show-stopper, but I can imagine that lots of people have wasted a lot of time globally updating to these packages and then trying to figure out a series of strange build errors. |
Understood, and this is exactly why we made this change in 2.1, as folks have been suffering this issue in some form since 1.0. We're thinking about ways we can make it more obvious in a future update (perhaps emit a build warning if the version is present). |
It looks like https://www.microsoft.com/net/download/ now has the latest bits available. |
With the release now completely uploaded and available, is this still an issue? |
I guess that's for @paulallington as the issue owner...? For me, the release has solved local build issues. Now it's down to build servers and App Services. |
I can confirm, that my problem is solved after installing SDK 2.1.301. |
ok, I'm going to close this. We can reopen if issue still persist. |
All other libraries I can see (am using) have upgraded to 2.1.1 in nuget, but Microsoft.Extensions.DependencyModel appears to not have happened, even though other libraries have dependencies on it. Is there a timeline on this?
The text was updated successfully, but these errors were encountered: