Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Tentative fix for TestAppUWP missing DLL
Browse files Browse the repository at this point in the history
Set `CopyToOuptutDirectory=Never` for the native DLL as referenced in
the `TestAppUWP` project. The native DLL is already output to the
correct location by its project, and the `CopyToOutputDirectory` does
not seem to have any influence on AppX deployment (the native DLL is
still copied to the deployment folder). So avoid asking MSBuild any
extra copy, which might be why despite of the project build order it
fails to find the native DLL when starting to compile the `TestAppUWP`
project.
  • Loading branch information
djee-ms committed Aug 6, 2019
1 parent 945c967 commit 4efd712
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@
<ItemGroup>
<Content Include="..\..\bin\UWP\$(Platform)\$(Configuration)\Microsoft.MixedReality.WebRTC.Native.dll">
<Link>Microsoft.MixedReality.WebRTC.Native.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
<Content Include="..\..\bin\UWP\$(Platform)\$(Configuration)\Microsoft.MixedReality.WebRTC.Native.pdb">
<Link>Microsoft.MixedReality.WebRTC.Native.pdb</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 4efd712

Please sign in to comment.