Skip to content

Commit f7ba8f1

Browse files
author
John Luo
authored
Use Arcade for resx generation (#12179)
1 parent 4062c8c commit f7ba8f1

File tree

70 files changed

+50
-12024
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+50
-12024
lines changed

Directory.Build.targets

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
<ExcludeFromSourceBuild Condition="'$(ExcludeFromSourceBuild)' == '' and '$(DotNetBuildFromSource)' == 'true' and '$(IsAspNetCoreApp)' != 'true'">true</ExcludeFromSourceBuild>
2020
</PropertyGroup>
2121

22+
<PropertyGroup Label="Resx settings">
23+
<GenerateResxSource Condition="$(GenerateResxSource) == ''">true</GenerateResxSource>
24+
<GenerateResxSourceEmitFormatMethods Condition="$(GenerateResxSourceEmitFormatMethods) == ''">true</GenerateResxSourceEmitFormatMethods>
25+
</PropertyGroup>
26+
2227
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
2328
<!-- Properties which should be set after the project has been evaluated -->
2429

src/Antiforgery/src/Properties/Resources.Designer.cs

Lines changed: 0 additions & 254 deletions
This file was deleted.

src/Components/Analyzers/src/Microsoft.AspNetCore.Components.Analyzers.csproj

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,4 @@
2020
<None Include="build/netstandard2.0/*" Pack="true" PackagePath="build/netstandard2.0" />
2121
</ItemGroup>
2222

23-
<ItemGroup>
24-
<Compile Update="Resources.Designer.cs">
25-
<DesignTime>True</DesignTime>
26-
<AutoGen>True</AutoGen>
27-
<DependentUpon>Resources.resx</DependentUpon>
28-
</Compile>
29-
30-
<EmbeddedResource Update="Resources.resx">
31-
<Generator>ResXFileCodeGenerator</Generator>
32-
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
33-
</EmbeddedResource>
34-
</ItemGroup>
35-
3623
</Project>

0 commit comments

Comments
 (0)