Skip to content

Commit

Permalink
Merge pull request #6849 from keveleigh/update-wsaplayer-template
Browse files Browse the repository at this point in the history
Update WSA.Player.Template.props.template to reference the DotNetWinRT adapter
  • Loading branch information
keveleigh authored Dec 10, 2019
2 parents 0f0a2ec + 1af8ed2 commit 9f2eb8f
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<AssemblySearchPaths>$(AssemblySearchPaths);<!--PLATFORM_COMMON_ASSEMBLY_SEARCH_PATHS_TOKEN-->;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5;$(UnityEditorInstallFolder)Data\PlaybackEngines\MetroSupport\Managed\UAP\</AssemblySearchPaths>
<TargetFramework>uap10.0</TargetFramework>
<DefaultLanguage>en-US</DefaultLanguage>
<DefineConstants>$(DefineConstants);<!--PLATFORM_COMMON_DEFINE_CONSTANTS-->;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<DefineConstants>$(DefineConstants);<!--PLATFORM_COMMON_DEFINE_CONSTANTS-->;NETFX_CORE;WINDOWS_UWP;DOTNETWINRT_PRESENT</DefineConstants>
<NugetTargetMoniker>UAP,Version=v10.0</NugetTargetMoniker>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion><!--UWP_TARGET_PLATFORM_VERSION_TOKEN--></TargetPlatformVersion>
Expand Down Expand Up @@ -49,4 +49,14 @@
</Reference>
<!--PLATFORM_COMMON_REFERENCE_TEMPLATE_END-->
</ItemGroup>

<PropertyGroup>
<DotNetWinRTVersion>0.5.1037</DotNetWinRTVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.MixedReality.DotNetWinRT" Version="$(DotNetWinRTVersion)" ExcludeAssets="Compile" />
<Reference Include="Microsoft.Windows.MixedReality.DotNetWinRT">
<HintPath>$(NuGetPackageRoot)\microsoft.windows.mixedreality.dotnetwinrt\$(DotNetWinRTVersion)\lib\uap10.0.18362\Microsoft.Windows.MixedReality.DotNetWinRT.dll</HintPath>
</Reference>
</ItemGroup>
</Project>

0 comments on commit 9f2eb8f

Please sign in to comment.