Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mmitche opened this issue Sep 16, 2024 · 4 comments
Open

Comments

@mmitche
Copy link
Member

mmitche commented Sep 16, 2024

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
Copy link
Member Author

mmitche commented Sep 16, 2024

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

@ericstj
Copy link
Member

ericstj commented Sep 17, 2024

@ericstj
Copy link
Member

ericstj commented Sep 17, 2024

@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
Copy link
Member Author

mmitche commented Sep 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants