question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jchannoncommented, Nov 6, 2021

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

0reactions
jchannoncommented, Nov 9, 2021

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 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to find package Microsoft.Extensions. ...
0 version of the Microsoft.Extensions.SecretManager.Tools nuget package after an official release of .Net Core 2.1.0? Is it possible to resolve ...
Read more >
Microsoft.Extensions.DependencyModel 7.0.0
Provides abstractions for reading `.deps` files. When a .NET application is compiled, the SDK generates a JSON manifest file (` .deps.json`) that contains ......
Read more >
Could not load file or assembly Microsoft.Extensions. ...
I have a Visual Studio 2019 extension that references Microsoft.Extensions.Configuration v3.1.1. This assembly gets loaded by a code ...
Read more >
Dependency issue when building / running the base ...
I have DotNet version 6.0.200 installed (But I have tried with 6.0.201 and the ... error NU1103: Unable to find a stable package...
Read more >
Why am I getting 'Unable to find package Microsoft. ...
I am running Visual Studio 2019 and trying to develop a .NET Core 3,1 ASP MVC application. I was working just fine yesterday...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found