Skip to content

Commit

Permalink
Update to Microsoft.CodeAnalysis.ResxSourceGenerator 3.3.5-beta1.23205.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Apr 8, 2023
1 parent 63aef01 commit 6034a5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion StyleCop.Analyzers/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" Version="3.3.3-beta1.21417.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" Version="3.3.5-beta1.23205.2" PrivateAssets="all" />
</ItemGroup>

<!-- C# Compiler -->
Expand Down
8 changes: 2 additions & 6 deletions StyleCop.Analyzers/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>

<PropertyGroup>
<SkipAddAllResxFilesAsAdditionalFiles>true</SkipAddAllResxFilesAsAdditionalFiles>
</PropertyGroup>

<ItemGroup>
<!-- Enable code generation for resource files. -->
<CodeGenerationEmbeddedResource Include="@(EmbeddedResource)" Exclude="**\*.??-??.resx" />
<AdditionalFiles Include="@(CodeGenerationEmbeddedResource)" GenerateSource="true" />
<EmbeddedResource Update="@(CodeGenerationEmbeddedResource)" GenerateSource="true" />

<NonCodeGenerationEmbeddedResource Include="@(EmbeddedResource)" Exclude="@(CodeGenerationEmbeddedResource)" />
<AdditionalFiles Include="@(NonCodeGenerationEmbeddedResource)" GenerateSource="false" />
<EmbeddedResource Update="@(NonCodeGenerationEmbeddedResource)" GenerateSource="false" />
</ItemGroup>

<!-- Special handling for embedded resources to show as nested in Solution Explorer -->
Expand Down

0 comments on commit 6034a5f

Please sign in to comment.