-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Description
Android framework version
net10.0-android (Preview)
Affected platform version
.NET 10
Description
Review Directory.Build.props.
The following lines can be removed, and the resulting build warnings fixed:
<_AllowProjectWarnings Condition=" '$(MSBuildProjectFile)' == 'Microsoft.Android.Sdk.ILLink.csproj' ">true</_AllowProjectWarnings>
<_AllowProjectWarnings Condition=" '$(MSBuildProjectFile)' == 'Microsoft.Android.Templates.csproj' ">true</_AllowProjectWarnings>
<_AllowProjectWarnings Condition=" '$(MSBuildProjectFile)' == 'MSBuildDeviceIntegration.csproj' ">true</_AllowProjectWarnings>
<_AllowProjectWarnings Condition=" '$(MSBuildProjectFile)' == 'Xamarin.Android.Build.Tasks.csproj' ">true</_AllowProjectWarnings>
<_AllowProjectWarnings Condition=" '$(MSBuildProjectFile)' == 'Xamarin.Android.Build.Tests.csproj' ">true</_AllowProjectWarnings>
<_AllowProjectWarnings Condition=" '$(MSBuildProjectFile)' == 'Xamarin.ProjectTools.csproj' ">true</_AllowProjectWarnings>To see the warnings (as errors), you can build with:
./dotnet-local.sh build Xamarin.Android.sln -p:_AndroidTreatWarningsAsErrors=true
If you can't fix some of these, restore the lines and report what went wrong.
We should fix as many of these that are simple & straightforward to solve.
Copilot
Metadata
Metadata
Assignees
Labels
No labels