Installer for v8.0.100 fails to restore/build: Missing Microsoft.NET.Sdk.Aspire.Manifest-8.0.100
Thefrank opened this issue · 6 comments
git checkout --progress --force 57efcf1350ab087efe97ced8199ab0b494636adf
Build is done under Ubuntu 22.04
build.sh -c Release -ci -pack -a x64 --runtime-id freebsd-x64 /p:OSName=freebsd /p:CrossgenOutput=false /p:DISABLE_CROSSGEN=true /p:OfficialBuildId=$OFFICIALBUILDID
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: Unable to find package Microsoft.NET.Sdk.Aspire.Manifest-8.0.100 with version (= 8.0.0-preview.1.23551.7) [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 1 version(s) in dotnet-public [ Nearest version: 8.0.0-preview.1.23557.2 ] [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 1 version(s) in dotnet8 [ Nearest version: 8.0.0-preview.1.23557.2 ] [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in aspnetcore [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in runtime [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in darc-pub-dotnet-emsdk-2406616 [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in darc-pub-DotNet-msbuild-Trusted-195e7f5 [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in msbuild-prerelease-with-release-version [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet-eng [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet-eol-transport [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet-libraries-transport [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet-libraries [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet-tools [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet6-transport [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet6 [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet7-transport [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet7 [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
/home/azure/myagent/_work/26/s/installer/src/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet8-transport [/home/azure/myagent/_work/26/s/installer/Microsoft.DotNet.Cli.sln]
0 Warning(s)
1 Error(s)
I guess the second part is: does https://github.com/dotnet/aspire need to be built before building Installer like Runtime and ASPNetCore already are?
EDIT: I just noticed that the only tag in the repo is v8.0.0-preview.1.23557.2
and already in the public feeds. So now I have no clue what to do here.
I guess the second part is: does https://github.com/dotnet/aspire need to be built before building Installer like Runtime and ASPNetCore already are?
Yes. The way you can unblock yourself is by performing a regular (non-crossbuild, for example on a Linux distro) which will produce all the packages your cross-build may need but is not currently building.
dotnet/source-build#3671 tracks adding cross-build support to dotnet/dotnet.
Looks like this also happens on Arch Linux, using the recipe that worked on 7.x (no cross-build) produces the same error. Is aspire a new build-time dependency?
https://build.alucryd.xyz/#/builders/257/builds/435/steps/7/logs/stdio
Yes, it's a new repo: https://github.com/dotnet/dotnet/blob/40e7f014ff784457efffa58074549735e30772ae/repo-projects/dotnet.proj#L48.
Building that repo produces the Microsoft.NET.Sdk.Aspire.Manifest-8.0.100
package which you are missing.
Thanks! I was still using this repo to build dotnet, will switch to the vmr repo.