forked from ConcreteMC/Alex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
48 lines (47 loc) · 2.06 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<Project>
<Choose>
<When Condition="$(DefineConstants.Contains(ANDROID))">
<PropertyGroup>
<TargetFramework>net5.0-android</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MonoGame.Framework.Android" Version="3.8.0.1641"/>
</ItemGroup>
</When>
<When Condition="$(DefineConstants.Contains(IOS))">
<PropertyGroup>
<TargetFramework>Xamarin.iOS10</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MonoGame.Framework.iOS" Version="3.8.0.1641"/>
</ItemGroup>
</When>
<When Condition="'$(Configuration)'=='DirectX'">
<PropertyGroup>
<TargetFramework>net5.0-windows</TargetFramework>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MonoGame.Framework.WindowsDX" Version="3.8.0.1641"/>
<PackageReference Include="System.Buffers" Version="4.5.1"/>
<PackageReference Include="System.Net.NameResolution" Version="4.3.0"/>
<PackageReference Include="System.Threading.ThreadPool" Version="4.3.0"/>
<PackageReference Include="System.IO.FileSystem" Version="4.3.0"/>
<PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0"/>
</ItemGroup>
</When>
<Otherwise>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifiers>linux-x64</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MonoGame.Framework.Compute.DesktopGL" Version="3.8.1.1"/>
</ItemGroup>
</Otherwise>
</Choose>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
</PropertyGroup>
</Project>