Skip to content

Commit

Permalink
AddAllResxFilesAsAdditionalFiles depends on PrepareResourceNames
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Oct 2, 2023
1 parent 3769e07 commit a877598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tools/GenerateDocumentationAndConfigFiles/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@ Note that a similar 'WarningsNotAsErrors' property group is present in the gener

const string AddAllResxFilesAsAdditionalFilesTarget = """
<!-- Target to add all 'EmbeddedResource' files with '.resx' extension as analyzer additional files -->
<Target Name="AddAllResxFilesAsAdditionalFiles" BeforeTargets="GenerateMSBuildEditorConfigFileCore;CoreCompile" Condition="'@(EmbeddedResource)' != '' AND '$(SkipAddAllResxFilesAsAdditionalFiles)' != 'true'">
<Target Name="AddAllResxFilesAsAdditionalFiles" DependsOnTargets="PrepareResourceNames" BeforeTargets="GenerateMSBuildEditorConfigFileCore;CoreCompile" Condition="'@(EmbeddedResource)' != '' AND '$(SkipAddAllResxFilesAsAdditionalFiles)' != 'true'">
<ItemGroup>
<EmbeddedResourceWithResxExtension Include="@(EmbeddedResource)" Condition="'%(Extension)' == '.resx'" />
<AdditionalFiles Include="@(EmbeddedResourceWithResxExtension)" />
Expand Down

0 comments on commit a877598

Please sign in to comment.