Skip to content

Commit

Permalink
Move the item group inside because seems item group will calculated t…
Browse files Browse the repository at this point in the history
…he file list before generate the localization dll.
  • Loading branch information
andy840119 committed May 1, 2023
1 parent ddc546e commit 0b43c99
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,27 @@
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>

<ItemGroup>
<InputAssemblies Include="$(OutputPath)osu.Game.Rulesets.Karaoke.dll" />
<InputAssemblies Include="$(OutputPath)osu.Game.Rulesets.Karaoke.Resources.dll" />
<InputAssemblies Include="$(OutputPath)*/osu.Game.Rulesets.Karaoke.Resources.resources.dll" Exclude="$(OutputPath)/DLLs/" />
<InputAssemblies Include="$(OutputPath)LanguageDetection.dll" />
<InputAssemblies Include="$(OutputPath)LrcParser.dll" />
<InputAssemblies Include="$(OutputPath)Octokit.dll" />
<InputAssemblies Include="$(OutputPath)osu.Framework.KaraokeFont.dll" />
<InputAssemblies Include="$(OutputPath)osu.Framework.Microphone.dll" />
<InputAssemblies Include="$(OutputPath)NWaves.dll" />
<InputAssemblies Include="$(OutputPath)Lucene.Net.dll" />
<InputAssemblies Include="$(OutputPath)Lucene.Net.Analysis.Common.dll" />
<InputAssemblies Include="$(OutputPath)Lucene.Net.Analysis.Kuromoji.dll" />
<InputAssemblies Include="$(OutputPath)J2N.dll" />
<InputAssemblies Include="$(OutputPath)SixLabors.Fonts.dll" />
<InputAssemblies Include="$(OutputPath)SixLabors.ImageSharp.Drawing.dll" />
<InputAssemblies Include="$(OutputPath)WanaKanaSharp.dll" />
<InputAssemblies Include="$(OutputPath)Zipangu.dll" />
</ItemGroup>

<Target Name="CopyCustomContent" Condition=" '$(Configuration)'=='Release' " AfterTargets="AfterBuild">
<ItemGroup>
<InputAssemblies Include="$(OutputPath)osu.Game.Rulesets.Karaoke.dll" />
<InputAssemblies Include="$(OutputPath)osu.Game.Rulesets.Karaoke.Resources.dll" />
<InputAssemblies Include="$(OutputPath)*/osu.Game.Rulesets.Karaoke.Resources.resources.dll" Exclude="$(OutputPath)/DLLs/" />
<InputAssemblies Include="$(OutputPath)LanguageDetection.dll" />
<InputAssemblies Include="$(OutputPath)LrcParser.dll" />
<InputAssemblies Include="$(OutputPath)Octokit.dll" />
<InputAssemblies Include="$(OutputPath)osu.Framework.KaraokeFont.dll" />
<InputAssemblies Include="$(OutputPath)osu.Framework.Microphone.dll" />
<InputAssemblies Include="$(OutputPath)NWaves.dll" />
<InputAssemblies Include="$(OutputPath)Lucene.Net.dll" />
<InputAssemblies Include="$(OutputPath)Lucene.Net.Analysis.Common.dll" />
<InputAssemblies Include="$(OutputPath)Lucene.Net.Analysis.Kuromoji.dll" />
<InputAssemblies Include="$(OutputPath)J2N.dll" />
<InputAssemblies Include="$(OutputPath)SixLabors.Fonts.dll" />
<InputAssemblies Include="$(OutputPath)SixLabors.ImageSharp.Drawing.dll" />
<InputAssemblies Include="$(OutputPath)WanaKanaSharp.dll" />
<InputAssemblies Include="$(OutputPath)Zipangu.dll" />
</ItemGroup>

<Copy SourceFiles="@(InputAssemblies)" DestinationFiles="$(OutDir)/DLLs/%(RecursiveDir)%(Filename)%(Extension)" />
</Target>

Expand Down

0 comments on commit 0b43c99

Please sign in to comment.