Skip to content

Commit 976a8c5

Browse files
committed
Add SatelliteResourceLanguages property to plugin projects to prevent generating unnecessary localization DLL files
1 parent 2c4444d commit 976a8c5

File tree

8 files changed

+30
-22
lines changed

8 files changed

+30
-22
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/Flow.Launcher.Plugin.BrowserBookmark.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1313
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
1414
<UseWindowsForms>true</UseWindowsForms>
15+
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
1516
</PropertyGroup>
1617

1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -59,4 +60,4 @@
5960
<PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.3" />
6061
</ItemGroup>
6162

62-
</Project>
63+
</Project>

Plugins/Flow.Launcher.Plugin.PluginsManager/Flow.Launcher.Plugin.PluginsManager.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<UseWindowsForms>true</UseWindowsForms>
77
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
88
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
9+
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
910
</PropertyGroup>
1011

1112
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -27,7 +28,7 @@
2728
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2829
</None>
2930
</ItemGroup>
30-
31+
3132
<ItemGroup>
3233
<Content Include="Languages\*.xaml">
3334
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
@@ -36,4 +37,4 @@
3637
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
3738
</Content>
3839
</ItemGroup>
39-
</Project>
40+
</Project>

Plugins/Flow.Launcher.Plugin.ProcessKiller/Flow.Launcher.Plugin.ProcessKiller.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1313
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1414
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
15+
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
1516
</PropertyGroup>
1617

1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -54,4 +55,4 @@
5455
<ProjectReference Include="..\..\Flow.Launcher.Plugin\Flow.Launcher.Plugin.csproj" />
5556
</ItemGroup>
5657

57-
</Project>
58+
</Project>

Plugins/Flow.Launcher.Plugin.Program/Flow.Launcher.Plugin.Program.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1313
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1414
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
15+
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
1516
</PropertyGroup>
1617

1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

Plugins/Flow.Launcher.Plugin.Shell/Flow.Launcher.Plugin.Shell.csproj

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1313
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1414
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
15+
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
1516
</PropertyGroup>
16-
17+
1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1819
<DebugSymbols>true</DebugSymbols>
1920
<DebugType>portable</DebugType>
@@ -24,7 +25,7 @@
2425
<WarningLevel>4</WarningLevel>
2526
<Prefer32Bit>false</Prefer32Bit>
2627
</PropertyGroup>
27-
28+
2829
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2930
<DebugType>pdbonly</DebugType>
3031
<Optimize>true</Optimize>
@@ -39,13 +40,13 @@
3940
<ProjectReference Include="..\..\Flow.Launcher.Infrastructure\Flow.Launcher.Infrastructure.csproj" />
4041
<ProjectReference Include="..\..\Flow.Launcher.Plugin\Flow.Launcher.Plugin.csproj" />
4142
</ItemGroup>
42-
43+
4344
<ItemGroup>
4445
<None Include="plugin.json">
4546
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
4647
</None>
4748
</ItemGroup>
48-
49+
4950
<ItemGroup>
5051
<Content Include="Languages\*.xaml">
5152
<Generator>MSBuild:Compile</Generator>
@@ -56,9 +57,9 @@
5657
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
5758
</Content>
5859
</ItemGroup>
59-
60+
6061
<ItemGroup>
6162
<PackageReference Include="InputSimulator" Version="1.0.4" NoWarn="NU1701" />
6263
</ItemGroup>
63-
64-
</Project>
64+
65+
</Project>

Plugins/Flow.Launcher.Plugin.Sys/Flow.Launcher.Plugin.Sys.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1313
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1414
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
15+
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
1516
</PropertyGroup>
16-
17+
1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1819
<DebugSymbols>true</DebugSymbols>
1920
<DebugType>portable</DebugType>
@@ -24,7 +25,7 @@
2425
<WarningLevel>4</WarningLevel>
2526
<Prefer32Bit>false</Prefer32Bit>
2627
</PropertyGroup>
27-
28+
2829
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2930
<DebugType>pdbonly</DebugType>
3031
<Optimize>true</Optimize>
@@ -39,7 +40,7 @@
3940
<ProjectReference Include="..\..\Flow.Launcher.Infrastructure\Flow.Launcher.Infrastructure.csproj" />
4041
<ProjectReference Include="..\..\Flow.Launcher.Plugin\Flow.Launcher.Plugin.csproj" />
4142
</ItemGroup>
42-
43+
4344
<ItemGroup>
4445
<Content Include="Languages\*.xaml">
4546
<Generator>MSBuild:Compile</Generator>
@@ -50,10 +51,10 @@
5051
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
5152
</Content>
5253
</ItemGroup>
53-
54+
5455
<ItemGroup>
5556
<None Include="plugin.json">
5657
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
5758
</None>
5859
</ItemGroup>
59-
</Project>
60+
</Project>

Plugins/Flow.Launcher.Plugin.Url/Flow.Launcher.Plugin.Url.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
2+
33
<PropertyGroup>
44
<OutputType>Library</OutputType>
55
<TargetFramework>net7.0-windows</TargetFramework>
@@ -11,8 +11,9 @@
1111
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1212
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1313
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
14+
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
1415
</PropertyGroup>
15-
16+
1617
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1718
<DebugSymbols>true</DebugSymbols>
1819
<DebugType>portable</DebugType>
@@ -23,7 +24,7 @@
2324
<WarningLevel>4</WarningLevel>
2425
<Prefer32Bit>false</Prefer32Bit>
2526
</PropertyGroup>
26-
27+
2728
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2829
<DebugType>pdbonly</DebugType>
2930
<Optimize>true</Optimize>
@@ -33,7 +34,7 @@
3334
<WarningLevel>4</WarningLevel>
3435
<Prefer32Bit>false</Prefer32Bit>
3536
</PropertyGroup>
36-
37+
3738
<ItemGroup>
3839
<None Include="plugin.json">
3940
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
@@ -56,4 +57,4 @@
5657
</Content>
5758
</ItemGroup>
5859

59-
</Project>
60+
</Project>

Plugins/Flow.Launcher.Plugin.WindowsSettings/Flow.Launcher.Plugin.WindowsSettings.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<ErrorReport>prompt</ErrorReport>
1010
<NeutralLanguage>en-US</NeutralLanguage>
1111
<Nullable>enable</Nullable>
12+
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
1213
</PropertyGroup>
1314

1415
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -68,4 +69,4 @@
6869
<ProjectReference Include="..\..\Flow.Launcher.Plugin\Flow.Launcher.Plugin.csproj" />
6970
</ItemGroup>
7071

71-
</Project>
72+
</Project>

0 commit comments

Comments
 (0)