Skip to content

Commit 44b4e04

Browse files
committed
Update iOS project to match Android project
Pulls in `<NoWarn>` and inclusion of test resources.
1 parent 2630d94 commit 44b4e04

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

osu.Game.Tests.iOS/osu.Game.Tests.iOS.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="..\osu.iOS.props" />
23
<PropertyGroup>
34
<OutputType>Exe</OutputType>
45
<TargetFramework>net8.0-ios</TargetFramework>
56
<SupportedOSPlatformVersion>13.4</SupportedOSPlatformVersion>
67
<RootNamespace>osu.Game.Tests</RootNamespace>
78
<AssemblyName>osu.Game.Tests.iOS</AssemblyName>
89
</PropertyGroup>
9-
<Import Project="..\osu.iOS.props" />
10+
<PropertyGroup>
11+
<NoWarn>$(NoWarn);CA2007</NoWarn>
12+
</PropertyGroup>
1013
<ItemGroup>
1114
<Compile Include="..\osu.Game.Tests\**\*.cs" Exclude="**\obj\**">
1215
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
1316
</Compile>
17+
<!-- TargetPath is relative to RootNamespace,
18+
and DllResourceStore is relative to AssemblyName. -->
19+
<EmbeddedResource Include="..\osu.Game.Tests\**\Resources\**\*">
20+
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
21+
<TargetPath>iOS\%(RecursiveDir)%(Filename)%(Extension)</TargetPath>
22+
</EmbeddedResource>
1423
</ItemGroup>
1524
<ItemGroup Label="Project References">
1625
<ProjectReference Include="..\osu.Game\osu.Game.csproj" />

0 commit comments

Comments
 (0)