V17 RC1 - "Unable to find package Microsoft.Extensions.FileProviders.Embedded"

Hi all,

I updated my project to v17.0.0-RC1 last week, and installed the .NET Preview SDK (10.0.100-rc.2.25502.107) via winget; and all was good, project built and ran fine.

But now today, I uninstalled the .NET Preview SDK, and installed the fresh public release of the .NET 10 SDK (10.0.100), and now my project will not build… I get the following exception on NuGet restore:

Unable to find package Microsoft.Extensions.FileProviders.Embedded. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org

I also get this same issue on my DevOps build pipeline:

image

Weirdly it states that the nearest version it could find, is the exact version it’s looking for!

It looks like this package is a dependency of Umbraco.Cms.Core.

NuGet Gallery | Microsoft.Extensions.FileProviders.Embedded 10.0.0

I’m just a tad confused as I haven’t changed anything except for uninstalling the preview SDK and then installing the full public release of the .NET 10 SDK.

Has anyone seen something like this before?

Not sure if it happens because RC1 still requires the preview version? RC2 will use the final version of .NET following a pull request that was just merged yesterday. RC2 is slated for release tomorrow (Nov 13).

2 Likes

Aha, I’ll have another go tomorrow when it’s released and report back :slight_smile:

Happy to confirm that it works great with RC2 :partying_face:

1 Like

FYI, 17.0.0-rc3 has just been released, where all of these packages have been upgraded to their final version.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.