Closed lewing closed 3 years ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
cc @jonathanpeppers
We just bumped our version to 30.0.100, on this feed:
Did this happen because we changed the major version? We wanted to match our version to Android API level 30.
yeah my config is
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
<add key="dotnet5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" />
<add key="xamarin" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" />
</packageSources>
</configuration>
It looks like it is finding the new version but mangling the semver somehow when trying to install it, then rollback fails and it tries to install the previous version, which also fails, then it exits before installing anything? I can install the workload with dotnet workload install microsoft-net-sdk-blazorwebassembly-aot --skip-manifest-update
but unless I pass --skip-manifest-update
the update step breaks everything before installing any packs.
Yeah the three ---
printed here doesn't seem to be right:
Installation roll back failed: Failed to install manifest microsoft.net.sdk.android version 11.0.200---ci.main.256: The transaction has aborted..
Workload installation failed: Failed to install manifest microsoft.net.sdk.android version 30.0.100---ci.main.0: One or more errors occurred. (microsoft.net.sdk.android.manifest-6.0.100::30.0.100---ci.main.0 is not found in NuGet feeds https://api.nuget.org/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json;https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json",).
cc @dsplaisted @marcpopMSFT
@sfoslund Can you look at this?
Sure, it looks like an issue with the FXVersion class that backs manifest versions. I put out a fix here: https://github.com/dotnet/sdk/pull/17614
This needs to make it into preview5