CarterCommunity / Carter

Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to find package Microsoft.Extensions.DependencyModel with version (>= 6.0.0-rtm.21518.12)

isaacOjeda opened this issue · comments

Since version 6-rc2 i'm getting this error when i'm trying to use Carter on .NET 6

This was added in this commit 640e105 but it's using a custom NuGet feed thus it can't be resolved with nuget.org.

The Nuget feed configured in Carter is <add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />

No problem to add this feed while i'm doing experiments with carter, but in production i think it should use nuget.org as usual.

Error:

Unable to find package Microsoft.Extensions.DependencyModel with version (>= 6.0.0-rtm.21518.12)
  - Found 64 version(s) in nuget.org [ Nearest version: 6.0.0-rc.2.21480.5 ]
  - Found 0 version(s) in Microsoft Visual Studio Offline Packages

Same result 😅
image

MS probably changing their feed as they develop and get ready for the .NET 6 release next week. Once it's out next week it should be fine. If you're in a rush, fork the repo and update it and run dotnet pack to create a nupkg

I'll wait until the release and then close this issue, thank you for your response

.NET 6 released, everything working now. Thanks