-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
698e56c
commit 47f523b
Showing
6 changed files
with
48 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup Label="Project"> | ||
<Configurations>Debug;Release;Development</Configurations> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<OutputType>Library</OutputType> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<RootNamespace>osu.Game.Rulesets.Rush</RootNamespace> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Development' "> | ||
<Optimize Condition=" '$(Optimize)' == '' ">true</Optimize> | ||
</PropertyGroup> | ||
<Choose> | ||
<When Condition=" '$(Configuration)' == 'Release' "> | ||
<PropertyGroup> | ||
<AssemblyName>osu.Game.Rulesets.Rush</AssemblyName> | ||
<AssemblyTitle>rush for osu!</AssemblyTitle> | ||
</PropertyGroup> | ||
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<AssemblyName>osu.Game.Rulesets.Rush-dev</AssemblyName> | ||
<AssemblyTitle>rush for osu! (development build)</AssemblyTitle> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
<ItemGroup> | ||
<!-- The automated version of this (<EmbeddedResource Include="xyz\**" />) would prepend the RootNamespace to name, | ||
that will not work well with DllResourceStore as it can only determine the root namespace via AssemblyName, | ||
and we change that based on the build configuration for separation purposes. | ||
Therefore prepend the AssemblyName to embedded resources names instead. --> | ||
<EmbeddedResource Include="Resources\**"> | ||
<LogicalName>$(AssemblyName).$([System.String]::Copy(%(Identity)).Replace($([System.IO.Path]::DirectorySeparatorChar.ToString()), '.'))</LogicalName> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="ppy.osu.Game" Version="2024.718.0" /> | ||
</ItemGroup> | ||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup Label="Project"> | ||
<Configurations>Debug;Release;Development</Configurations> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<OutputType>Library</OutputType> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<RootNamespace>osu.Game.Rulesets.Rush</RootNamespace> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Development' "> | ||
<Optimize Condition=" '$(Optimize)' == '' ">true</Optimize> | ||
</PropertyGroup> | ||
<Choose> | ||
<When Condition=" '$(Configuration)' == 'Release' "> | ||
<PropertyGroup> | ||
<AssemblyName>osu.Game.Rulesets.Rush</AssemblyName> | ||
<AssemblyTitle>rush for osu!</AssemblyTitle> | ||
</PropertyGroup> | ||
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<AssemblyName>osu.Game.Rulesets.Rush-dev</AssemblyName> | ||
<AssemblyTitle>rush for osu! (development build)</AssemblyTitle> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
<ItemGroup> | ||
<!-- The automated version of this (<EmbeddedResource Include="xyz\**" />) would prepend the RootNamespace to name, | ||
that will not work well with DllResourceStore as it can only determine the root namespace via AssemblyName, | ||
and we change that based on the build configuration for separation purposes. | ||
Therefore prepend the AssemblyName to embedded resources names instead. --> | ||
<EmbeddedResource Include="Resources\**"> | ||
<LogicalName>$(AssemblyName).$([System.String]::Copy(%(Identity)).Replace($([System.IO.Path]::DirectorySeparatorChar.ToString()), '.'))</LogicalName> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="ppy.osu.Game" Version="2024.718.0" /> | ||
</ItemGroup> | ||
</Project> |