MBB templates missing on Nuget?
See original GitHub issueAt the moment, I’m having trouble pulling the MobileBlazorBindings templates with the command:
dotnet new -i Microsoft.MobileBlazorBindings.Templates::0.5.50-preview
The error returned for me is:
Determining projects to restore… C:\Program Files\dotnet\sdk\5.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework ‘netcoreapp1.0’ is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [C:\Users\dcucc.templateengine\dotnetcli\v5.0.100\scratch\restore.csproj] Restored C:\Users\dcucc.templateengine\dotnetcli\v5.0.100\scratch\restore.csproj (in 1.33 sec).
Investigating further, I checked for any newer versions here:
https://www.nuget.org/packages/Microsoft.MobileBlazorBindings.Templates
…and saw nothing new there. For fun, I checked Fuget:
https://www.fuget.org/packages/Microsoft.MobileBlazorBindings.Templates
…and received an “Error Reading Package” notice:
System.IO.InvalidDataException: End of Central Directory record could not be found. at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory() at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen) at System.IO.Compression.ZipArchive…ctor(Stream stream, ZipArchiveMode mode, Boolean leaveOpen, Encoding entryNameEncoding) at FuGetGallery.PackageData.Read(MemoryStream bytes, HttpClient httpClient) in D:\home\site\repository\Data\PackageData.cs:line 118 at FuGetGallery.PackageData.PackageDataCache.<>c__DisplayClass2_0.b__0() in D:\home\site\repository\Data\PackageData.cs:line 412 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__278_1(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) — End of stack trace from previous location where exception was thrown — at FuGetGallery.PackageData.PackageDataCache.ReadPackageFromUrl(PackageData package, HttpClient httpClient, CancellationToken token) in D:\home\site\repository\Data\PackageData.cs:line 412 at FuGetGallery.PackageData.PackageDataCache.GetValueAsync(String arg0, PackageVersion arg1, HttpClient httpClient, CancellationToken token) in D:\home\site\repository\Data\PackageData.cs:line 385
So, it seems like the package is cached on Nuget’s site, but actually missing.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)

Top Related StackOverflow Question
@dcuccia Is this the machine where you opened that email from the late Mrs Sanders that promises you $7.000.000 as her beneficiary? 😁😉
Thanks both.
@jspuij I made the mistake of assuming the error I was seeing was the same on both of my machines, sorry. You’re right that it’s a warning. The true error on the first machine is included here:
Looks like an SSL issue isolated to one machine. I will look into this further.
@Eilon I did submit a ticket here: https://github.com/praeclarum/FuGetGallery/issues/123 …and it looks like they’re tracking that already.