Skip to content

Commit

Permalink
NETSDK1206 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpar committed Jan 8, 2024
1 parent 4a1fc58 commit 9997c7d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion eng/targets/Imports.targets
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<RoslynCheckCodeStyle Condition="'$(RoslynCheckCodeStyle)' == '' AND ('$(ContinuousIntegrationBuild)' != 'true' OR '$(RoslynEnforceCodeStyle)' == 'true')">true</RoslynCheckCodeStyle>

<!--https://github.com/dotnet/sdk/issues/37826 -->
<MSBuildTreatWarningsAsMessages Condition="'$(OutputType)' == 'Library'">$(MSBuildTreatWarningsAsMessages);NETSDK1206</MSBuildTreatWarningsAsMessages>
<MSBuildWarningsAsMessages Condition="'$(OutputType)' == 'Library'">$(MSBuildWarningsAsMessages);NETSDK1206</MSBuildWarningsAsMessages>

</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<TargetFramework>$(NetVS)</TargetFramework>
<TargetArch>arm64</TargetArch>

<!-- This impacts alpine assets for SQLitePCLRaw.lib.e_sqlite3 which don't impact .NET Framework projects -->
<NoWarn>$(NoWarn);NETSDK1206</NoWarn>

<MicrosoftNETCoreAppRuntimewinarm64Version>$(MicrosoftNetCoreAppRuntimePackagesVersion)</MicrosoftNETCoreAppRuntimewinarm64Version>
<MicrosoftWindowsDesktopAppRuntimewinarm64Version>$(MicrosoftWindowsDesktopAppRuntimePackagesVersion)</MicrosoftWindowsDesktopAppRuntimewinarm64Version>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<TargetFramework>$(NetVS)</TargetFramework>
<TargetArch>x64</TargetArch>

<!-- This impacts alpine assets for SQLitePCLRaw.lib.e_sqlite3 which don't impact .NET Framework projects -->
<NoWarn>$(NoWarn);NETSDK1206</NoWarn>

<MicrosoftNETCoreAppRuntimewinx64Version>$(MicrosoftNetCoreAppRuntimePackagesVersion)</MicrosoftNETCoreAppRuntimewinx64Version>
<MicrosoftWindowsDesktopAppRuntimewinx64Version>$(MicrosoftWindowsDesktopAppRuntimePackagesVersion)</MicrosoftWindowsDesktopAppRuntimewinx64Version>
</PropertyGroup>
Expand Down

0 comments on commit 9997c7d

Please sign in to comment.