Refactor: Consolidate multiple ItemGroup sections in .csproj

This change merges several separate ItemGroup sections in the Test.csproj file into fewer ones. It improves the structure and readability of the project file without altering its functionality. This will make future updates to the project file simpler and more efficient.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
This commit is contained in:
Ivandro Jao 2024-09-30 20:42:42 +01:00
parent b85d331239
commit a6bc467dab

View File

@ -14,16 +14,12 @@
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Dictionaries\en_US.aff" /> <EmbeddedResource Include="Dictionaries\en_US.aff" />
<EmbeddedResource Include="Dictionaries\en_US.dic" /> <EmbeddedResource Include="Dictionaries\en_US.dic" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Dictionaries\names.xml" /> <EmbeddedResource Include="Dictionaries\names.xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="Files\sample.tar"> <Content Include="Files\sample.tar">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
</ItemGroup>
<ItemGroup>
<Content Include="Files\sample_MKV_delayed.mkv"> <Content Include="Files\sample_MKV_delayed.mkv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
@ -39,36 +35,24 @@
<Content Include="Files\sample_TS_with_graphics.ts"> <Content Include="Files\sample_TS_with_graphics.ts">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
</ItemGroup>
<ItemGroup>
<Content Include="Files\sample_MP4_SRT.mp4"> <Content Include="Files\sample_MP4_SRT.mp4">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
</ItemGroup>
<ItemGroup>
<Content Include="Files\sample_BDSUP_multi_image.sup"> <Content Include="Files\sample_BDSUP_multi_image.sup">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
</ItemGroup>
<ItemGroup>
<Content Include="Files\auto_detect_Danish.srt"> <Content Include="Files\auto_detect_Danish.srt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
</ItemGroup>
<ItemGroup>
<Content Include="Files\auto_detect_Russian.srt"> <Content Include="Files\auto_detect_Russian.srt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
</ItemGroup>
<ItemGroup>
<Content Include="Files\auto_detect_windows-1250.srt"> <Content Include="Files\auto_detect_windows-1250.srt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="Files\auto_detect_windows-1251.srt"> <Content Include="Files\auto_detect_windows-1251.srt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
</ItemGroup>
<ItemGroup>
<Content Include="Files\sample_TS_with_teletext.ts"> <Content Include="Files\sample_TS_with_teletext.ts">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>