Avoid clobbering inherited NoWarn; append instead.

This commit is contained in:
Jack251970 2025-09-06 13:37:27 +08:00
parent 8bc60e55e0
commit 8e837b8e56
3 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit> <Prefer32Bit>false</Prefer32Bit>
<NoWarn>FLSG0007</NoWarn> <NoWarn>$(NoWarn);FLSG0007</NoWarn>
</PropertyGroup> </PropertyGroup>
<Target Name="RemoveUnnecessaryRuntimesAfterBuild" AfterTargets="Build"> <Target Name="RemoveUnnecessaryRuntimesAfterBuild" AfterTargets="Build">

View file

@ -33,7 +33,7 @@
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit> <Prefer32Bit>false</Prefer32Bit>
<NoWarn>FLSG0007</NoWarn> <NoWarn>$(NoWarn);FLSG0007</NoWarn>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View file

@ -19,7 +19,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<OutputPath>..\..\Output\Release\Plugins\Flow.Launcher.Plugin.Explorer</OutputPath> <OutputPath>..\..\Output\Release\Plugins\Flow.Launcher.Plugin.Explorer</OutputPath>
<NoWarn>FLSG0007</NoWarn> <NoWarn>$(NoWarn);FLSG0007</NoWarn>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>