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.
MIT License
2.05k stars 172 forks source link

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

Closed isaacOjeda closed 2 years ago

isaacOjeda commented 2 years ago

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
jchannon commented 2 years ago

Try rc3 On Fri, 5 Nov 2021 at 23:38, Isaac Ojeda @.***> wrote:

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 https://github.com/CarterCommunity/Carter/commit/640e105d200f15db1241f53383fc39e5b2b321f2 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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CarterCommunity/Carter/issues/280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAZVJWSX47GZXFNGU3BTUTUKRTINANCNFSM5HO4ROXA .

isaacOjeda commented 2 years ago

Same result 😅 image

jchannon commented 2 years ago

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

isaacOjeda commented 2 years ago

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

isaacOjeda commented 2 years ago

.NET 6 released, everything working now. Thanks

jchannon commented 2 years ago

I've pushed some changes to the net6 branch which will fix it but not released anything yet onto nuget/feedz

On Tue, 9 Nov 2021 at 15:54, Isaac Ojeda @.***> wrote:

.NET 6 released, everything working now. Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CarterCommunity/Carter/issues/280#issuecomment-964283987, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAZVJX6XGELRUUPJAGYSATULE74FANCNFSM5HO4ROXA .