Skip to content

Commit

Permalink
[Build] Start to remove usage of StridePlatform in .csproj files
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Jan 5, 2022
1 parent 7f7059c commit 52d8341
Show file tree
Hide file tree
Showing 22 changed files with 43 additions and 134 deletions.
4 changes: 0 additions & 4 deletions deps/BulletPhysics/BulletSharp.NetStandard.dll.config

This file was deleted.

4 changes: 2 additions & 2 deletions sources/core/Stride.Core.IO/Stride.Core.IO.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
<Compile Include="..\..\shared\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Remove="System.IO.Compression.Zip\*.cs" Condition=" '$(StridePlatform)' != 'Android' " />
<Compile Remove="System.IO.Compression.Zip\*.cs" Condition=" '$(TargetPlatformIdentifier)' != 'Android' " />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Stride.Core\Stride.Core.csproj">
<PrivateAssets>contentfiles;analyzers</PrivateAssets>
</ProjectReference>
<PackageReference Include="SharpDX" Version="4.2.0" Condition="'$(StridePlatform)' == 'UWP'" />
<PackageReference Include="SharpDX" Version="4.2.0" Condition="'$(TargetFramework)' == '$(StrideFrameworkUWP)'" />
</ItemGroup>

<Import Project="$(StrideSdkTargets)" />
Expand Down
31 changes: 0 additions & 31 deletions sources/core/Stride.Core/Stride.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,33 +19,6 @@
<ExtrasUwpMetaPackageVersion>6.2.12</ExtrasUwpMetaPackageVersion>
</PropertyGroup>

<Choose>
<When Condition=" '$(StridePlatform)' == 'Android' ">
<ItemGroup>
<Reference Include="Mono.Android" />
</ItemGroup>
</When>
</Choose>
<Choose>
<When Condition=" '$(StridePlatform)' == 'iOS' ">
<ItemGroup>
<Reference Include="Xamarin.iOS" />
</ItemGroup>
</When>
</Choose>
<Choose>
<When Condition=" '$(StrideNETRuntime)' == 'CoreCLR' ">
<ItemGroup>
<None Include="..\..\data\Linux\runtimeconfig.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\data\Linux\CoreCLRSetup.sh">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</When>
</Choose>

<ItemGroup>
<PackageReference Include="ServiceWire" Version="5.3.4" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
Expand Down Expand Up @@ -112,10 +85,6 @@
</None>
</ItemGroup>

<ItemGroup>
<StrideContent Condition="'$(StridePlatform)' == 'Linux'" Include="Stride.Core.dll.config" />
</ItemGroup>

<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
Expand Down
4 changes: 0 additions & 4 deletions sources/core/Stride.Core/Stride.Core.dll.config

This file was deleted.

1 change: 0 additions & 1 deletion sources/data/Linux/.gitattributes

This file was deleted.

24 changes: 0 additions & 24 deletions sources/data/Linux/CoreCLRSetup.sh

This file was deleted.

9 changes: 0 additions & 9 deletions sources/data/Linux/runtimeconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion sources/engine/Stride.Assets/Stride.Assets.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\build\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition="('$(StridePlatform)' == 'Windows') and ('$(StrideNETRuntime)' != 'CoreCLR')">
<PropertyGroup Condition="'$(TargetFramework)' == '$(StrideFramework)'">
<DefineConstants>STRIDE_VIDEO_FFMPEG;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions sources/engine/Stride.Audio/Stride.Audio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<StrideBuildTags>*</StrideBuildTags>
<StrideCodeAnalysis>true</StrideCodeAnalysis>
</PropertyGroup>
<PropertyGroup Condition="'$(StridePlatform)' == 'Android'">
<PropertyGroup Condition="'$(TargetFramework)' == '$(StrideFrameworkAndroid)'">
<!-- <DefineConstants>STRIDE_VIDEO_FFMPEG;$(DefineConstants)</DefineConstants> -->
<DefineConstants>STRIDE_VIDEO_MEDIACODEC;$(DefineConstants)</DefineConstants>
</PropertyGroup>
Expand All @@ -28,7 +28,6 @@
</ItemGroup>
<ItemGroup>
<None Include="Native\Celt.cpp" />
<StrideContent Condition="'$(StridePlatform)' == 'Linux'" Include="Stride.Audio.dll.config" />
<None Include="Stride.Native.Libs.targets">
<SubType>Designer</SubType>
</None>
Expand Down
4 changes: 0 additions & 4 deletions sources/engine/Stride.Audio/Stride.Audio.dll.config

This file was deleted.

2 changes: 1 addition & 1 deletion sources/engine/Stride.Games/Stride.Games.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<Compile Remove="Resources\Resource.Designer.cs" />
</ItemGroup>
<Choose>
<When Condition=" '$(StridePlatform)' == 'Android'">
<When Condition=" '$(TargetFramework)' == '$(StrideFrameworkAndroid)'">
<PropertyGroup>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
</PropertyGroup>
Expand Down
18 changes: 9 additions & 9 deletions sources/engine/Stride.Graphics/Stride.Graphics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
<ProjectReference Include="..\Stride.Shaders\Stride.Shaders.csproj" />
<ProjectReference Include="..\Stride\Stride.csproj" />
<PackageReference Include="System.Memory" Version="4.5.4" />
<PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'UWP'" />
<PackageReference Include="SharpDX.Direct3D12" Version="4.2.0" Condition="'$(StridePlatform)' == 'Windows'" />
<PackageReference Include="SharpDX.D3DCompiler" Version="4.2.0" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'UWP'" />
<PackageReference Include="Vortice.Vulkan" Version="1.2.167" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'Linux' Or '$(StridePlatform)' == 'macOS'" />
<PackageReference Include="Silk.NET.OpenGL" Version="2.10.1" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'Linux'" />
<PackageReference Include="Silk.NET.OpenGLES" Version="2.10.1" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'Linux' Or '$(StridePlatform)' == 'iOS' Or '$(StridePlatform)' == 'Android'" />
<PackageReference Include="Silk.NET.OpenGLES.Extensions.EXT" Version="2.10.1" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'Linux' Or '$(StridePlatform)' == 'iOS' Or '$(StridePlatform)' == 'Android'" />
<PackageReference Include="Silk.NET.Sdl" Version="2.10.1" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'Linux' Or '$(StridePlatform)' == 'iOS' Or '$(StridePlatform)' == 'Android'" />
<PackageReference Include="Silk.NET.Windowing.Sdl" Version="2.10.1" Condition="'$(StridePlatform)' == 'Android' Or '$(StridePlatform)' == 'iOS'" />
<PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" Condition="'$(TargetFramework)' == '$(StrideFramework)' Or '$(TargetFramework)' == '$(StrideFrameworkUWP)'" />
<PackageReference Include="SharpDX.Direct3D12" Version="4.2.0" Condition="'$(TargetFramework)' == '$(StrideFramework)'" />
<PackageReference Include="SharpDX.D3DCompiler" Version="4.2.0" Condition="'$(TargetFramework)' == '$(StrideFramework)' Or '$(TargetFramework)' == '$(StrideFrameworkUWP)'" />
<PackageReference Include="Vortice.Vulkan" Version="1.2.167" Condition="'$(TargetFramework)' == '$(StrideFramework)'" />
<PackageReference Include="Silk.NET.OpenGL" Version="2.10.1" Condition="'$(TargetFramework)' == '$(StrideFramework)'" />
<PackageReference Include="Silk.NET.OpenGLES" Version="2.10.1" />
<PackageReference Include="Silk.NET.OpenGLES.Extensions.EXT" Version="2.10.1" />
<PackageReference Include="Silk.NET.Sdl" Version="2.10.1" />
<PackageReference Include="Silk.NET.Windowing.Sdl" Version="2.10.1" Condition="'$(TargetFramework)' == '$(StrideFrameworkAndroid)' Or '$(TargetFramework)' == '$(StrideFrameworkiOS)'" />
<PackageReference Include="Stride.SharpFont" Version="1.0.0" />
</ItemGroup>
<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion sources/engine/Stride.Native/Stride.Native.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<ProjectReference Include="..\..\core\Stride.Core.Mathematics\Stride.Core.Mathematics.csproj" />
</ItemGroup>
<ItemGroup>
<StrideContent Condition="'$(StridePlatform)' == 'Linux'" Include="Stride.Native.dll.config" />
<None Include="Stride.Native.Libs.targets">
<SubType>Designer</SubType>
</None>
Expand Down
4 changes: 0 additions & 4 deletions sources/engine/Stride.Native/Stride.Native.dll.config

This file was deleted.

5 changes: 1 addition & 4 deletions sources/engine/Stride.Physics/Stride.Physics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@
<StrideAssemblyProcessorOptions>--serialization --parameter-key</StrideAssemblyProcessorOptions>
<StrideBuildTags>*</StrideBuildTags>
<StrideBulletPlatform></StrideBulletPlatform> <!--Empty by default, only iOS needs special care-->
<StrideBulletPlatform Condition="'$(StridePlatform)' == 'iOS'">iOS</StrideBulletPlatform>
<StrideBulletPlatform Condition="'$(TargetFramework)' == '$(StrideFrameworkiOS)'">iOS</StrideBulletPlatform>
<StrideCodeAnalysis>true</StrideCodeAnalysis>
</PropertyGroup>
<ItemGroup>
<StrideNativeLib Include="..\..\..\deps\BulletPhysics\$(StridePlatformDeps)\**\libbulletc.*">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
</StrideNativeLib>
<StrideContent Condition="'$(StridePlatform)' == 'Linux'" Include="..\..\..\deps\BulletPhysics\BulletSharp.NetStandard.dll.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</StrideContent>
<Reference Include="BulletSharp">
<HintPath>..\..\..\deps\BulletPhysics\$(StrideBulletPlatform)\BulletSharp.NetStandard.dll</HintPath>
</Reference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer</StrideAssemblyProcessorOptions>
</PropertyGroup>
<PropertyGroup Condition="'$(DisableRegistryUse)' != 'true' And '$(StridePlatform)' == 'Windows'">
<PropertyGroup Condition="'$(DisableRegistryUse)' != 'true'">
<WindowsSdkDir_10 Condition="'$(WindowsSdkDir_10)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@InstallationFolder)</WindowsSdkDir_10>
<WindowsSdkDir_10 Condition="'$(WindowsSdkDir_10)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@InstallationFolder)</WindowsSdkDir_10>
</PropertyGroup>
Expand All @@ -19,9 +19,9 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Stride.Shaders.Parser\Stride.Shaders.Parser.csproj" />
<PackageReference Include="SharpDX.D3DCompiler" Version="4.2.0" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'UWP'" />
<PackageReference Include="SharpDX.D3DCompiler" Version="4.2.0" Condition="'$(TargetFramework)' == '$(StrideFramework)' Or '$(TargetFramework)' == '$(StrideFrameworkUWP)'" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net'))">
<ItemGroup Condition="'$(TargetFramework)' == '$(StrideFramework)'">
<StrideNativeLib Include="$(WindowsSdkDir_10)\Redist\D3D\**\d3dcompiler_47.dll">
<Link>win-%(RecursiveDir)%(Filename)%(Extension)</Link>
<RelativePath>win-%(RecursiveDir)%(Filename)%(Extension)</RelativePath>
Expand Down
12 changes: 6 additions & 6 deletions sources/engine/Stride.Video/Stride.Video.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<StrideCodeAnalysis>true</StrideCodeAnalysis>
<StridePackAssets>true</StridePackAssets>
</PropertyGroup>
<PropertyGroup Condition="'$(StridePlatform)' == 'Android'">
<PropertyGroup Condition="'$(TargetFramework)' == '$(StrideFrameworkAndroid)'">
<DefineConstants>STRIDE_VIDEO_MEDIACODEC;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="('$(StridePlatform)' == 'Windows') and ('$(StrideNETRuntime)' != 'CoreCLR')">
<PropertyGroup Condition="'$(TargetFramework)' == '$(StrideFramework)'">
<DefineConstants>STRIDE_VIDEO_FFMPEG;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<ItemGroup>
Expand All @@ -24,9 +24,9 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Stride.Engine\Stride.Engine.csproj" />
<PackageReference Include="SharpDX.MediaFoundation" Version="4.2.0" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'UWP'" />
<PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'UWP'" />
<PackageReference Include="SharpDX.Direct3D12" Version="4.2.0" Condition="'$(StridePlatform)' == 'Windows'" />
<PackageReference Include="SharpDX.MediaFoundation" Version="4.2.0" Condition="'$(TargetFramework)' == '$(StrideFramework)' Or '$(TargetFramework)' == '$(StrideFrameworkUWP)'" />
<PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" Condition="'$(TargetFramework)' == '$(StrideFramework)' Or '$(TargetFramework)' == '$(StrideFrameworkUWP)'" />
<PackageReference Include="SharpDX.Direct3D12" Version="4.2.0" Condition="'$(TargetFramework)' == '$(StrideFramework)'" />
</ItemGroup>
<Choose>
<When Condition="$(DefineConstants.Contains(STRIDE_VIDEO_FFMPEG))">
Expand All @@ -40,7 +40,7 @@
</When>
</Choose>
<ItemGroup>
<PackageReference Include="FFmpeg.AutoGen" Version="3.4.0.2" Condition="'$(StridePlatform)' == 'Windows'" />
<PackageReference Include="FFmpeg.AutoGen" Version="3.4.0.2" Condition="'$(TargetFramework)' == '$(StrideFramework)'" />
</ItemGroup>
<Import Project="$(StrideSdkTargets)" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,13 @@
<StrideCodeAnalysis>true</StrideCodeAnalysis>
</PropertyGroup>
<Choose>
<When Condition=" '$(StridePlatform)' == 'Android'">
<When Condition=" '$(TargetFramework)' == '$(StrideFrameworkAndroid)'">
<ItemGroup>
<Reference Include="Mono.Android" />
<Reference Include="GoogleVRJava">
<HintPath>..\..\..\deps\GoogleVR\lib\Android\GoogleVRJava.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" '$(StridePlatform)' == 'iOS'">
<ItemGroup>
<Reference Include="Xamarin.iOS" />
</ItemGroup>
</When>
</Choose>
<Choose>
<When Condition=" '$(StrideGraphicsApi)' == 'Direct3D11' Or '$(StrideGraphicsApi)' == 'Direct3D12' ">
Expand All @@ -54,7 +48,6 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<StrideContent Condition="'$(StridePlatform)' == 'Linux'" Include="Stride.VirtualReality.dll.config" />
<None Include="Stride.Native.Libs.targets">
<SubType>Designer</SubType>
</None>
Expand All @@ -72,7 +65,7 @@
</PropertyGroup>
<Target Name="_StrideIncludeExtraAssemblies">
<ItemGroup>
<BuildOutputInPackage Include="$(OutputPath)GoogleVRJava.dll" Condition=" '$(StridePlatform)' == 'Android' " />
<BuildOutputInPackage Include="$(OutputPath)GoogleVRJava.dll" Condition=" '$(TargetFramework)' == '$(StrideFrameworkAndroid)' " />
</ItemGroup>
</Target>
</Project>

This file was deleted.

4 changes: 2 additions & 2 deletions sources/engine/Stride/Stride.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<ProjectReference Include="..\..\core\Stride.Core.Serialization\Stride.Core.Serialization.csproj" />
<ProjectReference Include="..\..\core\Stride.Core.Mathematics\Stride.Core.Mathematics.csproj" />
<!-- SharpDX is needed for WIC -->
<PackageReference Include="SharpDX.Direct2D1" Version="4.2.0" Condition="'$(StridePlatform)' == 'UWP'" />
<PackageReference Include="System.Drawing.Common" Version="4.6.0" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'Linux'" />
<PackageReference Include="SharpDX.Direct2D1" Version="4.2.0" Condition="'$(TargetFramework)' == '$(StrideFrameworkUWP)'" />
<PackageReference Include="System.Drawing.Common" Version="4.6.0" Condition="'$(TargetFramework)' == '$(StrideFramework)'" />
</ItemGroup>

<ItemGroup>
Expand Down
22 changes: 14 additions & 8 deletions sources/targets/Stride.Core.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,29 @@

<!-- Setup StridePlatform according to current TargetFramework -->
<PropertyGroup>
<StrideFramework>net6.0</StrideFramework>
<StrideFrameworkWindows>net6.0-windows</StrideFrameworkWindows>
<StrideFrameworkAndroid>net6.0-android</StrideFrameworkAndroid>
<StrideFrameworkiOS>net6.0-ios</StrideFrameworkiOS>
<StrideFrameworkUWP>uap10.0.16299</StrideFrameworkUWP>

<!-- Default values -->
<StridePlatformOriginal>$(StridePlatform)</StridePlatformOriginal>
<StridePlatform Condition=" $(TargetFramework.StartsWith('net')) ">Windows</StridePlatform>
<StridePlatform Condition=" $(TargetFramework.StartsWith('net')) And $(RuntimeIdentifier.StartsWith('linux')) ">Linux</StridePlatform>
<StridePlatform Condition=" $(TargetFramework.StartsWith('net')) And $(RuntimeIdentifier.StartsWith('osx')) ">macOS</StridePlatform>
<StridePlatform Condition=" $(TargetFramework.StartsWith('uap10.0')) ">UWP</StridePlatform>
<StridePlatform Condition=" '$(TargetFramework)' == 'net6.0-android' ">Android</StridePlatform>
<StridePlatform Condition=" '$(TargetFramework)' == 'net6.0-ios' ">iOS</StridePlatform>
<StridePlatform Condition=" '$(TargetFramework)' == '$(StrideFrameworkUWP)' ">UWP</StridePlatform>
<StridePlatform Condition=" '$(TargetFramework)' == '$(StrideFrameworkAndroid)' ">Android</StridePlatform>
<StridePlatform Condition=" '$(TargetFramework)' == '$(StrideFrameworkiOS)' ">iOS</StridePlatform>
<!-- Default fallback -->
<StridePlatform Condition=" '$(StridePlatform)' == '' ">Windows</StridePlatform>

<StridePlatformFullName Condition="'$(StridePlatformFullName)' == ''">$(StridePlatform)</StridePlatformFullName>

<StridePlatformDeps Condition=" $(TargetFramework.StartsWith('net')) ">dotnet</StridePlatformDeps>
<StridePlatformDeps Condition=" $(TargetFramework.StartsWith('uap10.0')) ">UWP</StridePlatformDeps>
<StridePlatformDeps Condition=" '$(TargetFramework)' == 'net6.0-android' ">Android</StridePlatformDeps>
<StridePlatformDeps Condition=" '$(TargetFramework)' == 'net6.0-ios' ">iOS</StridePlatformDeps>
<StridePlatformDeps Condition=" '$(TargetFramework)' == '$(StrideFramework)' Or '$(TargetFramework)' == '$(StrideFrameworkWindows)' ">dotnet</StridePlatformDeps>
<StridePlatformDeps Condition=" '$(TargetFramework)' == '$(StrideFrameworkUWP)' ">UWP</StridePlatformDeps>
<StridePlatformDeps Condition=" '$(TargetFramework)' == '$(StrideFrameworkAndroid)' ">Android</StridePlatformDeps>
<StridePlatformDeps Condition=" '$(TargetFramework)' == '$(StrideFrameworkiOS)' ">iOS</StridePlatformDeps>
</PropertyGroup>

<!--Import Local Pre Settings for the solution being loaded -->
Expand All @@ -49,7 +55,7 @@
<_StridePlatforms>;$(StridePlatforms);</_StridePlatforms>
</PropertyGroup>

<PropertyGroup Condition="$(TargetFramework.StartsWith('uap10.0'))">
<PropertyGroup Condition="'$(TargetFramework)' == '$(StrideFrameworkUWP)'">
<!-- Fixes for GetPackagingOutputs (note: not sure if still necessary) -->
<WindowsAppContainer>false</WindowsAppContainer>
<AppxPackage>false</AppxPackage>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ItemGroup>
<ProjectReference Include="..\..\engine\Stride.Graphics\Stride.Graphics.csproj" />
<PackageReference Include="Microsoft.Win32.Registry" Version="4.7.0" />
<PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" Condition="'$(StridePlatform)' == 'Windows' Or '$(StridePlatform)' == 'UWP'" />
<PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" Condition="'$(TargetFramework)' == '$(StrideFramework)' Or '$(TargetFramework)' == '$(StrideFrameworkUWP)'" />
</ItemGroup>
<Import Project="$(StrideSdkTargets)" />
</Project>

0 comments on commit 52d8341

Please sign in to comment.