Skip to content

Commit

Permalink
Add $(Nullable) = annotations to projects using NRT annotations w…
Browse files Browse the repository at this point in the history
…ithout NRT enabled. (#9660)
  • Loading branch information
jpobst authored Jan 9, 2025
1 parent d18c306 commit ae63447
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<DefineConstants>ILLINK</DefineConstants>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(MicrosoftAndroidSdkOutDir)</OutputPath>
<Nullable>annotations</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.ILLink" Version="$(MicrosoftNETILLinkTasksPackageVersion)" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<DebugSymbols>True</DebugSymbols>
<DebugType>portable</DebugType>
<NoWarn>$(NoWarn);CA1305</NoWarn>
<Nullable>annotations</Nullable>
</PropertyGroup>

<Import Project="..\..\..\..\Configuration.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<AssemblyOriginatorKeyFile>..\..\..\..\product.snk</AssemblyOriginatorKeyFile>
<NoWarn>$(NoWarn);CA1305</NoWarn>
<_IncludeMicrosoftBuildPackage>true</_IncludeMicrosoftBuildPackage>
<Nullable>annotations</Nullable>
</PropertyGroup>
<Import Project="..\..\..\..\Configuration.props" />
<Import Project="..\..\..\..\external\xamarin-android-tools\src\Microsoft.Android.Build.BaseTasks\MSBuildReferences.projitems" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
<DebugSymbols>True</DebugSymbols>
<DebugType>portable</DebugType>
<Nullable>annotations</Nullable>
</PropertyGroup>

<Import Project="..\..\Configuration.props" />
Expand Down

0 comments on commit ae63447

Please sign in to comment.