-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Labels
Area: Unit TestsIssues with repo unit tests.Issues with repo unit tests.
Milestone
Description
Android framework version
Other
Affected platform version
.NET 11
Description
The "Build MAUI template" tests are failing with the following restore failure:
Determining projects to restore...
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: Unable to find package Microsoft.NET.ILLink.Tasks with version (>= 11.0.0-alpha.1.25614.102)
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 70 version(s) in dotnet-public [ Nearest version: 10.0.1 ]
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in local
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in C:\a\_work\1\s\android\bin\Release\dotnet\library-packs
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in benchmark-dotnet-prerelease
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in darc-pub-dotnet-dotnet-e17b0d0
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in darc-pub-dotnet-emsdk-3cddc1f
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in darc-pub-dotnet-runtime-207cda3
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in darc-pub-dotnet-runtime-6cd8ef8
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in dotnet-eng
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in dotnet-libraries-transport
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in dotnet-libraries
C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj : error NU1102: - Found 0 version(s) in dotnet-tools
Failed to restore C:\a\_work\1\a\MauiTestProj\MauiTestProj.csproj (in 746 ms).
The problem appears to be that MAUI's main branch is the .NET 10 servicing branch, while the main in this repo is already using the .NET 11 SDK:
Lines 4 to 7 in bb5968d
| <MicrosoftNETSdkPackageVersion>11.0.100-alpha.1.25614.102</MicrosoftNETSdkPackageVersion> | |
| <MicrosoftDotnetSdkInternalPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetSdkInternalPackageVersion> | |
| <MicrosoftNETILLinkPackageVersion>11.0.0-alpha.1.25614.102</MicrosoftNETILLinkPackageVersion> | |
| <MicrosoftNETCoreAppRefPackageVersion>11.0.0-alpha.1.25614.102</MicrosoftNETCoreAppRefPackageVersion> |
I suppose we should run tests against the net11.0 branch of dotnet/maui
Steps to Reproduce
- Open a new PR against
mainin this repo - MAUI integration tests will fail
Did you find any workaround?
No response
Relevant log output
Metadata
Metadata
Assignees
Labels
Area: Unit TestsIssues with repo unit tests.Issues with repo unit tests.