Issue building the project
Description
I can't build the project, I get a timeout error related to downloading packages. am using Visual Studio 17.2.0 preview 1.0
I installed maui-check and it says that everything looks great, here is the output of the maui-check tool:
OpenJDK 11.0 Checkup...
- 11.0.12 (C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin..)
Visual Studio 17.1.0-pre.3.0 Checkup...
- 17.2.0-pre.1.0 - C:\Program Files\Microsoft Visual Studio\2022\Preview
- 17.1.0 - C:\Program Files\Microsoft Visual Studio\2022\Community
Android SDK Checkup...
- emulator (31.2.8)
- build-tools;31.0.0 (31.0.0)
- platforms;android-31 (1)
- system-images;android-31;google_apis;x86_64 (8)
- platform-tools (32.0.0)
- cmdline-tools;5.0 (5.0)
Android Emulator Checkup...
- Emulator: Android_Emulator_31 found.
.NET SDK Checkup...
- 6.0.200 - C:\Program Files\dotnet\sdk\6.0.200
.NET SDK - Workload Deduplication Checkup...
Edge WebView2 Checkup...
- Found Edge WebView2 version 98.0.1108.56
.NET SDK - Workloads (6.0.200) Checkup...
- android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.200 : 31.0.200-preview.12.2) installed.
- ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.200 : 15.2.200-preview.12.4) installed.
- maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.200 : 15.2.200-preview.12.4) installed.
- tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.200 : 15.2.200-preview.12.4) installed.
- macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.200 : 12.1.200-preview.12.4) installed.
- maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.200 : 6.0.200-preview.12.2441) installed.
Steps to Reproduce
- create a new maui project
- run the build command
Version with bug
Preview 12
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
Android 12 API 31
Did you find any workaround?
No response
Relevant log output
Failed to download package 'Microsoft.Windows.SDK.NET.Ref.10.0.19041.22' from 'https://api.nuget.org/v3-flatcontainer/microsoft.windows.sdk.net.ref/10.0.19041.22/microsoft.windows.sdk.net.ref.10.0.19041.22.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.windows.sdk.net.ref/10.0.19041.22/microsoft.windows.sdk.net.ref.10.0.19041.22.nupkg' has timed out after 100000ms.
Failed to download package 'Microsoft.NETCore.App.Runtime.win-x86.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.win-x86/6.0.2/microsoft.netcore.app.runtime.win-x86.6.0.2.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.win-x86/6.0.2/microsoft.netcore.app.runtime.win-x86.6.0.2.nupkg' has timed out after 100000ms.
Failed to download package 'Microsoft.AspNetCore.App.Runtime.win-arm64.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.runtime.win-arm64/6.0.2/microsoft.aspnetcore.app.runtime.win-arm64.6.0.2.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.runtime.win-arm64/6.0.2/microsoft.aspnetcore.app.runtime.win-arm64.6.0.2.nupkg' has timed out after 100000ms.
Failed to download package 'Microsoft.WindowsDesktop.App.Runtime.win-x64.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.windowsdesktop.app.runtime.win-x64/6.0.2/microsoft.windowsdesktop.app.runtime.win-x64.6.0.2.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.windowsdesktop.app.runtime.win-x64/6.0.2/microsoft.windowsdesktop.app.runtime.win-x64.6.0.2.nupkg' has timed out after 100000ms.
Failed to download package 'Microsoft.NETCore.App.Runtime.win-arm64.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.win-arm64/6.0.2/microsoft.netcore.app.runtime.win-arm64.6.0.2.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.win-arm64/6.0.2/microsoft.netcore.app.runtime.win-arm64.6.0.2.nupkg' has timed out after 100000ms.
Failed to download package 'Microsoft.NETCore.App.Runtime.win-x64.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.win-x64/6.0.2/microsoft.netcore.app.runtime.win-x64.6.0.2.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.win-x64/6.0.2/microsoft.netcore.app.runtime.win-x64.6.0.2.nupkg' has timed out after 100000ms.
Failed to download package 'Microsoft.AspNetCore.App.Runtime.win-x64.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.runtime.win-x64/6.0.2/microsoft.aspnetcore.app.runtime.win-x64.6.0.2.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.runtime.win-x64/6.0.2/microsoft.aspnetcore.app.runtime.win-x64.6.0.2.nupkg' has timed out after 100000ms.
Failed to download package 'Microsoft.WindowsDesktop.App.Runtime.win-x86.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.windowsdesktop.app.runtime.win-x86/6.0.2/microsoft.windowsdesktop.app.runtime.win-x86.6.0.2.nupkg'.
Cannot access a disposed object.
Object name: 'SslStream'.
Failed to download package 'Microsoft.WindowsDesktop.App.Runtime.win-arm64.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.windowsdesktop.app.runtime.win-arm64/6.0.2/microsoft.windowsdesktop.app.runtime.win-arm64.6.0.2.nupkg'.
Cannot access a disposed object.
Object name: 'SslStream'.
Failed to download package 'Microsoft.NETCore.App.Host.linux-arm64.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.host.linux-arm64/6.0.2/microsoft.netcore.app.host.linux-arm64.6.0.2.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.host.linux-arm64/6.0.2/microsoft.netcore.app.host.linux-arm64.6.0.2.nupkg' has timed out after 100000ms.
Failed to download package 'Microsoft.NETCore.App.Host.linux-arm.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.host.linux-arm/6.0.2/microsoft.netcore.app.host.linux-arm.6.0.2.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.host.linux-arm/6.0.2/microsoft.netcore.app.host.linux-arm.6.0.2.nupkg' has timed out after 100000ms.
Failed to download package 'Microsoft.NETCore.App.Host.linux-x64.6.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.host.linux-x64/6.0.2/microsoft.netcore.app.host.linux-x64.6.0.2.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.host.linux-x64/6.0.2/microsoft.netcore.app.host.linux-x64.6.0.2.nupkg' has timed out after 100000ms.
Not reproduced
Not reproduced on Windows(OS: 19044.1526) and Android(OS: Android 12.0-API31). Repro Project: \mlangfs1\Public\dotnet maui\Repro Project\4800-BuildingProject.zip