You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[xaprepare] use 8.0.100 version band for Mono workloads (#7530)
Context: dotnet/runtime#77385
Building `net6.0-android` and `net7.0-android` apps with .NET 8 is
failing with:
Microsoft.Android.Sdk.RuntimeConfig.targets(46,5): error MSB4036: The "RuntimeConfigParserTask" task was not found.
Check the following:
1.) The name of the task in the project file is the same as the name of the task class.
2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface.
3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "/Users/runner/work/1/s/xamarin-android/bin/Release/dotnet/sdk/8.0.100-alpha.1.22553.2" directory.
The problem appears to be due to the import ordering:
8.0.100-alpha.1/microsoft.net.workload.mono.toolchain.net6/WorkloadManifest.targets
8.0.100-alpha.1/microsoft.net.workload.mono.toolchain.net7/WorkloadManifest.targets
8.0.100-alpha.1/microsoft.net.workload.mono.toolchain/WorkloadManifest.targets
Where the third one should be imported first for this to work.
I believe this broke in 5f3deea, which inadvertently put these files
in the `8.0.100-alpha.1` directory instead of `8.0.100`.
The "baseline" version is always imported first, which is `8.0.100`:
* https://github.com/dotnet/installer/blob/c09cc8aada26be846359961fe160b5eff528d9df/src/redist/targets/BundledManifests.targets#L9-L13
Move the location of these files to fix this issue.
0 commit comments