dotnet / windowsdesktop

MIT License
158 stars 53 forks source link

Windowsdesktop attempts to restore cross-OS assets when doing dev-only build #4664

Open mmitche opened 2 days ago

mmitche commented 2 days ago

When doing a dev-only build on windows, windowsdesktop references system.io.ports and a couple other packages. It tries to restore packages built on other architectures.

C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.win-x86 with version (= 9.0.0-ci) [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 1380 version(s) in net-sdk-supporting-feed [ Nearest version: 9.0.0-preview.1.24072.8 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 171 version(s) in dotnet-public [ Nearest version: 9.0.0-preview.1.24080.9 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 62 version(s) in dotnet10 [ Nearest version: 9.0.0-rc.1.24419.6 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 1 version(s) in dotnet-eng [ Nearest version: 5.0.0-alpha.1.19618.1 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet-tools [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet10-transport [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet9-transport [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-command-line-api were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-emsdk were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-runtime were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-arcade were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-cecil were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-emsdk were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-runtime were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-winforms were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-wpf were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-winforms were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  ##vso[task.logissue type=error;sourcepath=C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package Microsoft.NETCore.App.Runtime.win-x86 with version (= 9.0.0-ci)%0D%0A  - Found 1380 version(s) in net-sdk-supporting-feed [ Nearest version: 9.0.0-preview.1.24072.8 %5D%0D%0A  - Found 171 version(s) in dotnet-public [ Nearest version: 9.0.0-preview.1.24080.9 %5D%0D%0A  - Found 62 version(s) in dotnet10 [ Nearest version: 9.0.0-rc.1.24419.6 %5D%0D%0A  - Found 1 version(s) in dotnet-eng [ Nearest version: 5.0.0-alpha.1.19618.1 %5D%0D%0A  - Found 0 version(s) in dotnet-tools%0D%0A  - Found 0 version(s) in dotnet10-transport%0D%0A  - Found 0 version(s) in dotnet9-transport%0D%0A  - Versions from source-built-command-line-api were not considered%0D%0A  - Versions from source-built-emsdk were not considered%0D%0A  - Versions from source-built-runtime were not considered%0D%0A  - Versions from source-built-transport-arcade were not considered%0D%0A  - Versions from source-built-transport-cecil were not considered%0D%0A  - Versions from source-built-transport-emsdk were not considered%0D%0A  - Versions from source-built-transport-runtime were not considered%0D%0A  - Versions from source-built-transport-winforms were not considered%0D%0A  - Versions from source-built-transport-wpf were not considered%0D%0A  - Versions from source-built-winforms were not considered
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.win-arm64 with version (= 9.0.0-ci) [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 1380 version(s) in net-sdk-supporting-feed [ Nearest version: 9.0.0-preview.1.24072.8 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 171 version(s) in dotnet-public [ Nearest version: 9.0.0-preview.1.24080.9 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 62 version(s) in dotnet10 [ Nearest version: 9.0.0-rc.1.24419.6 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 1 version(s) in dotnet-eng [ Nearest version: 5.0.0-alpha.1.19618.1 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet-tools [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet10-transport [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet9-transport [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-command-line-api were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-emsdk were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-runtime were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-arcade were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-cecil were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-emsdk were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-runtime were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-winforms were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-wpf were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-winforms were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  ##vso[task.logissue type=error;sourcepath=C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package Microsoft.NETCore.App.Runtime.win-arm64 with version (= 9.0.0-ci)%0D%0A  - Found 1380 version(s) in net-sdk-supporting-feed [ Nearest version: 9.0.0-preview.1.24072.8 %5D%0D%0A  - Found 171 version(s) in dotnet-public [ Nearest version: 9.0.0-preview.1.24080.9 %5D%0D%0A  - Found 62 version(s) in dotnet10 [ Nearest version: 9.0.0-rc.1.24419.6 %5D%0D%0A  - Found 1 version(s) in dotnet-eng [ Nearest version: 5.0.0-alpha.1.19618.1 %5D%0D%0A  - Found 0 version(s) in dotnet-tools%0D%0A  - Found 0 version(s) in dotnet10-transport%0D%0A  - Found 0 version(s) in dotnet9-transport%0D%0A  - Versions from source-built-command-line-api were not considered%0D%0A  - Versions from source-built-emsdk were not considered%0D%0A  - Versions from source-built-runtime were not considered%0D%0A  - Versions from source-built-transport-arcade were not considered%0D%0A  - Versions from source-built-transport-cecil were not considered%0D%0A  - Versions from source-built-transport-emsdk were not considered%0D%0A  - Versions from source-built-transport-runtime were not considered%0D%0A  - Versions from source-built-transport-winforms were not considered%0D%0A  - Versions from source-built-transport-wpf were not considered%0D%0A  - Versions from source-built-winforms were not considered
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.win-x86 with version (= 9.0.0-ci) [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 1380 version(s) in net-sdk-supporting-feed [ Nearest version: 9.0.0-preview.1.24072.8 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 173 version(s) in dotnet-public [ Nearest version: 9.0.0-preview.1.24080.9 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 62 version(s) in dotnet10 [ Nearest version: 9.0.0-rc.1.24419.6 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 1 version(s) in dotnet-eng [ Nearest version: 5.0.0-alpha.1.19618.1 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet-tools [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet10-transport [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet9-transport [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-command-line-api were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-emsdk were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-runtime were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-arcade were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-cecil were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-emsdk were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-runtime were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-winforms were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-wpf were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-winforms were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  ##vso[task.logissue type=error;sourcepath=C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package Microsoft.NETCore.App.Host.win-x86 with version (= 9.0.0-ci)%0D%0A  - Found 1380 version(s) in net-sdk-supporting-feed [ Nearest version: 9.0.0-preview.1.24072.8 %5D%0D%0A  - Found 173 version(s) in dotnet-public [ Nearest version: 9.0.0-preview.1.24080.9 %5D%0D%0A  - Found 62 version(s) in dotnet10 [ Nearest version: 9.0.0-rc.1.24419.6 %5D%0D%0A  - Found 1 version(s) in dotnet-eng [ Nearest version: 5.0.0-alpha.1.19618.1 %5D%0D%0A  - Found 0 version(s) in dotnet-tools%0D%0A  - Found 0 version(s) in dotnet10-transport%0D%0A  - Found 0 version(s) in dotnet9-transport%0D%0A  - Versions from source-built-command-line-api were not considered%0D%0A  - Versions from source-built-emsdk were not considered%0D%0A  - Versions from source-built-runtime were not considered%0D%0A  - Versions from source-built-transport-arcade were not considered%0D%0A  - Versions from source-built-transport-cecil were not considered%0D%0A  - Versions from source-built-transport-emsdk were not considered%0D%0A  - Versions from source-built-transport-runtime were not considered%0D%0A  - Versions from source-built-transport-winforms were not considered%0D%0A  - Versions from source-built-transport-wpf were not considered%0D%0A  - Versions from source-built-winforms were not considered
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.win-arm64 with version (= 9.0.0-ci) [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 1380 version(s) in net-sdk-supporting-feed [ Nearest version: 9.0.0-preview.1.24072.8 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 173 version(s) in dotnet-public [ Nearest version: 9.0.0-preview.1.24080.9 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 62 version(s) in dotnet10 [ Nearest version: 9.0.0-rc.1.24419.6 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 1 version(s) in dotnet-eng [ Nearest version: 5.0.0-alpha.1.19618.1 ] [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet-tools [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet10-transport [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Found 0 version(s) in dotnet9-transport [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-command-line-api were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-emsdk were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-runtime were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-arcade were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-cecil were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-emsdk were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-runtime were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-winforms were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-transport-wpf were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj : error NU1102:   - Versions from source-built-winforms were not considered [C:\d\.dotnet\sdk\9.0.100-preview.7.24407.12\NuGet.targets]
  ##vso[task.logissue type=error;sourcepath=C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package Microsoft.NETCore.App.Host.win-arm64 with version (= 9.0.0-ci)%0D%0A  - Found 1380 version(s) in net-sdk-supporting-feed [ Nearest version: 9.0.0-preview.1.24072.8 %5D%0D%0A  - Found 173 version(s) in dotnet-public [ Nearest version: 9.0.0-preview.1.24080.9 %5D%0D%0A  - Found 62 version(s) in dotnet10 [ Nearest version: 9.0.0-rc.1.24419.6 %5D%0D%0A  - Found 1 version(s) in dotnet-eng [ Nearest version: 5.0.0-alpha.1.19618.1 %5D%0D%0A  - Found 0 version(s) in dotnet-tools%0D%0A  - Found 0 version(s) in dotnet10-transport%0D%0A  - Found 0 version(s) in dotnet9-transport%0D%0A  - Versions from source-built-command-line-api were not considered%0D%0A  - Versions from source-built-emsdk were not considered%0D%0A  - Versions from source-built-runtime were not considered%0D%0A  - Versions from source-built-transport-arcade were not considered%0D%0A  - Versions from source-built-transport-cecil were not considered%0D%0A  - Versions from source-built-transport-emsdk were not considered%0D%0A  - Versions from source-built-transport-runtime were not considered%0D%0A  - Versions from source-built-transport-winforms were not considered%0D%0A  - Versions from source-built-transport-wpf were not considered%0D%0A  - Versions from source-built-winforms were not considered
    Failed to restore C:\d\src\windowsdesktop\src\windowsdesktop\src\sfx\Microsoft.WindowsDesktop.App.Runtime.sfxproj (in 1.32 sec).
    Failed to restore C:\d\src\windowsdesktop\src\Microsoft.Windows.Compatibility\src\Microsoft.Windows.Compatibility.csproj (in 1.8 sec).
mmitche commented 2 days ago

@ericstj Do you happen to know why an x64 build of windowsdesktop would wanht to download the x86/arm64 Host and Runtime packs?

ericstj commented 1 day ago

Without looking at the binlog, my best guess is that it's the SDK doing it here: https://github.com/dotnet/sdk/blob/899ea4114e44a50586b111dd3c4e338928f6508c/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets#L191-L193

ericstj commented 1 day ago

@mmitche Just did a local restore only of windowsdeskop:

powershell -ExecutionPolicy ByPass -NoProfile -command "& eng\common\Build.ps1 -restore /bl"

Here's the source of these:

Host packages are coming from https://github.com/dotnet/sdk/blob/899ea4114e44a50586b111dd3c4e338928f6508c/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets#L175

Runtime packs are coming from https://github.com/dotnet/sdk/blob/899ea4114e44a50586b111dd3c4e338928f6508c/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets#L139

It seems you might be able to disable both of them by setting EnableAppHostPackDownload and EnableRuntimePackDownload to false. @dsplaisted

mmitche commented 1 day ago

Thanks. I was mainly surprised that I was getting restores of apphost and runtime package for architectures that I was not building for.