Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Add ReferenceCopyLocalPaths to csproj to find implementation dll for … #217

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adamtuliper
Copy link

This should resolve the "implementation file not found" issue in #199
Since the MixedRemoteViewCompositor reference is set CopyLocal=true, we can use the to point to the dll.

I believe we can also leave SpecificVersion=false out, since it looks like Visual Studio defaults to SpecificVersion=false if we don't have a version/culture on the reference.

@keveleigh keveleigh requested a review from carmines June 8, 2018 21:02
@keveleigh
Copy link
Contributor

@adamtuliper This PR looks like it contains more than is mentioned in the description. Was that intentional?

Copy link
Contributor

@carmines carmines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove any binaries, we do not want these to be part of the official build. Devs should be building their own .dll's

For Unity, check-in the meta file that correctly set the .dll properties for the UWP and WIn32 binaries correctly

<SpecificVersion>False</SpecificVersion>
<HintPath>$(SolutionDir)..\..\..\Build\$(Configuration)\Plugins\WSA\$(PlatformName)\MixedRemoteViewCompositor.winmd</HintPath>
<Reference Include="MixedRemoteViewCompositor">
<HintPath>..\..\..\..\Source\Win32\MixedRemoteViewCompositor.winmd</HintPath>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modify the path to the repo's build folder "$(SolutionDir)......\Build$(Configuration)\Plugins".

<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<TargetPlatformVersion>10.0.16299.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HoloLens OS is 14393 RS1 and RS4 only. Check your builds run on both

@@ -1,2 +1 @@
m_EditorVersion: 5.4.0b24-HTP
m_StandardAssetsVersion: 0
m_EditorVersion: 2017.2.0p2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ensure the check-in works against 2017.4 LTS build for RS4

@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio 15
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are additional changes needed for x64, latest SDK and to build correctly without warnings for 2017. See my repo for a version that compiles cleanly:
https://github.com/carmines/MixedRealityCompanionKit/tree/master/MixedRemoteViewCompositor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants