Skip to content

Commit

Permalink
Suppress LNK4104 warning from MSVC in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Jun 16, 2024
1 parent 7bcf4c1 commit b5c7f56
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
<CsWinRTEnableICustomPropertyProviderSupport>false</CsWinRTEnableICustomPropertyProviderSupport>
<CsWinRTEnableIReferenceSupport>false</CsWinRTEnableIReferenceSupport>
<CsWinRTEnableIDynamicInterfaceCastableSupport>false</CsWinRTEnableIDynamicInterfaceCastableSupport>

<!--
WinRT component warning suppression due to a default MSVC warning:
"LNK4104: export of symbol 'DllCanUnloadNow' should be PRIVATE".
See: https://github.com/dotnet/runtime/issues/98047.
-->
<NoWarn>$(NoWarn);LNK4104</NoWarn>
</PropertyGroup>

<!-- NativeAOT configuration -->
Expand Down

0 comments on commit b5c7f56

Please sign in to comment.