<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic UWP - Can't reference SDK dlls in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118176#M74922</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I just downloaded and installed the complete SDK and tried the UWP Samples.&lt;BR /&gt;
	But to no avail, since the solution first didn't find the dlls.&lt;BR /&gt;
	Then I tried to reference them by myself via "Add reference" and "Browse". I tried this path:&amp;nbsp;RSSDK\framework\UWP\ExtensionSDKs\Intel.RealSense\10.0.26.396\redist\CommonConfiguration\x86 (yes, build target was set to x86 to).&lt;/P&gt;

&lt;P&gt;None of the provided dlls in the x86 or x64 folder were added, because VS2015 yelled: "Could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component."&lt;/P&gt;

&lt;P&gt;What could be wrong or what could I've done wrong?&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;STRONG&gt;My Setup:&lt;/STRONG&gt;&lt;BR /&gt;
	Windows 10 10586.545&lt;BR /&gt;
	VisualStudio 2015 update 2&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Andy&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2016 15:23:12 GMT</pubDate>
    <dc:creator>Andreas_F_</dc:creator>
    <dc:date>2016-08-31T15:23:12Z</dc:date>
    <item>
      <title>UWP - Can't reference SDK dlls</title>
      <link>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118176#M74922</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I just downloaded and installed the complete SDK and tried the UWP Samples.&lt;BR /&gt;
	But to no avail, since the solution first didn't find the dlls.&lt;BR /&gt;
	Then I tried to reference them by myself via "Add reference" and "Browse". I tried this path:&amp;nbsp;RSSDK\framework\UWP\ExtensionSDKs\Intel.RealSense\10.0.26.396\redist\CommonConfiguration\x86 (yes, build target was set to x86 to).&lt;/P&gt;

&lt;P&gt;None of the provided dlls in the x86 or x64 folder were added, because VS2015 yelled: "Could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component."&lt;/P&gt;

&lt;P&gt;What could be wrong or what could I've done wrong?&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;STRONG&gt;My Setup:&lt;/STRONG&gt;&lt;BR /&gt;
	Windows 10 10586.545&lt;BR /&gt;
	VisualStudio 2015 update 2&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Andy&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 15:23:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118176#M74922</guid>
      <dc:creator>Andreas_F_</dc:creator>
      <dc:date>2016-08-31T15:23:12Z</dc:date>
    </item>
    <item>
      <title>Can't edit my own post.</title>
      <link>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118177#M74923</link>
      <description>&lt;P&gt;Can't edit my own post. Wanted to add for completeness, that I own the SR300.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 16:05:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118177#M74923</guid>
      <dc:creator>Andreas_F_</dc:creator>
      <dc:date>2016-09-01T16:05:13Z</dc:date>
    </item>
    <item>
      <title>No one?</title>
      <link>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118178#M74924</link>
      <description>&lt;P&gt;No one?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 09:45:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118178#M74924</guid>
      <dc:creator>Andreas_F_</dc:creator>
      <dc:date>2016-09-06T09:45:40Z</dc:date>
    </item>
    <item>
      <title>Try just adding Intel</title>
      <link>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118179#M74925</link>
      <description>&lt;P&gt;Try just adding Intel.Realsense.dll as a reference? Maybe the other dlls don't need to be referenced, but are used by the RealSense dll - so you'll probably need to copy them to your debug folder.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 12:08:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118179#M74925</guid>
      <dc:creator>jb455</dc:creator>
      <dc:date>2016-09-06T12:08:27Z</dc:date>
    </item>
    <item>
      <title>Hi James,</title>
      <link>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118180#M74926</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;

&lt;P&gt;yes I did that. As a matter of fact it was the very first thing I did. After that failed I tried all other dlls as well.&lt;BR /&gt;
	And each and every dll caused the aforementioned error.&lt;BR /&gt;
	&lt;BR /&gt;
	Either no one tested the UWP samples and I'm the only one ;) or something is wrong on my end.&lt;BR /&gt;
	&lt;BR /&gt;
	Additionally and out of curiosity I made a complete wipe of vs2015 with the total uninstaller and reinstalled it.&lt;BR /&gt;
	Same error :(&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 12:50:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118180#M74926</guid>
      <dc:creator>Andreas_F_</dc:creator>
      <dc:date>2016-09-07T12:50:47Z</dc:date>
    </item>
    <item>
      <title>Finally got around to</title>
      <link>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118181#M74927</link>
      <description>&lt;P&gt;Finally got around to installing the Windows SDK and testing this. An old copy of the StreamViewer sample &lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;I had&amp;nbsp;&lt;/SPAN&gt;from the 2016R1 SDK wouldn't allow me to reference the RealSense dll, but I took a new copy from Program Files and it works fine! So, uh, not sure why it's broken, but try making a new copy of the sample and see if that fixes it!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 15:37:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118181#M74927</guid>
      <dc:creator>jb455</dc:creator>
      <dc:date>2016-09-14T15:37:44Z</dc:date>
    </item>
    <item>
      <title>Just tried to make a new UWP</title>
      <link>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118182#M74928</link>
      <description>&lt;P&gt;Just tried to make a new UWP project and reference RealSense and got the same error you're getting.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;However, I found &lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/articles/get-ready-for-intel-realsense-sdk-universal-windows-platform-apps" style="font-size: 1em; line-height: 1.5;"&gt;this old article&lt;/A&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;which shows how to set up a UWP project with RealSense and it says you have to reference the .winmd file in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;C:\Program Files (x86)\Intel\RSSDK\framework\UWP\ExtensionSDKs\Intel.RealSense\10.0.26.396\references\commonconfiguration\neutral instead of the .dll.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;This built OK but when I stuck in&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE style="font-family: Consolas; color: black; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"&gt;&lt;SPAN style="color:blue;"&gt;var&lt;/SPAN&gt;&amp;nbsp;senseManager&amp;nbsp;=&amp;nbsp;&lt;SPAN style="color:#2b91af;"&gt;SenseManager&lt;/SPAN&gt;.CreateInstance();&lt;/PRE&gt;

&lt;P&gt;I got an exception at runtime, "Requested Windows Runtime type 'Intel.RealSense.SenseManager' is not registered.".&lt;/P&gt;

&lt;P&gt;After some googling, I determined that you need to take a copy of the .winmd and the .dll files, put them in the same folder, and reference the .winmd again. (Note, this step is mentioned exactly nowhere in any Intel docs I can find)&lt;/P&gt;

&lt;P&gt;However, when debugging now, SenseManager.CreateInstance() only returns null and when I try to do anything else with the SDK I get a message saying my debugger can't handle that arise due to the fact that my sense manager is null. I can't see what I'm doing differently to the sample app now. On the off chance, does anyone know if there's some sort of secret process you have to go through before starting a SenseManager instance on UWP?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:09:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118182#M74928</guid>
      <dc:creator>jb455</dc:creator>
      <dc:date>2016-09-15T12:09:06Z</dc:date>
    </item>
    <item>
      <title>Hello James,</title>
      <link>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118183#M74929</link>
      <description>&lt;P&gt;Hello James,&lt;/P&gt;

&lt;P&gt;wow... good find. Thanks a lot. Wasn't even thinking of adding the winmd files.&lt;BR /&gt;
	At least it builds correct now.&lt;BR /&gt;
	&lt;BR /&gt;
	But I got the TypeLoadException too on "SenseManager.CreateInstance();"&lt;BR /&gt;
	Tried the x64 build... same error in the end.&lt;/P&gt;

&lt;P&gt;Currently repairing/modifying the sdk installation and reinstalling cameradriver. But I don't think this will magically fix the problem.&lt;BR /&gt;
	Tough I hope it is somehow related, because my SR300 tends to loose connection from time to time and I have to replug to another USB Port.&lt;/P&gt;

&lt;P&gt;I should drop Mike Taulty a line at his blog, because he managed to add and build the sample from the v8 SDK on UWP (&lt;A href="https://mtaulty.com/2016/05/06/windows-10-uwp-realsense-sr300-faces-and-the-surface-pro-3/"&gt;https://mtaulty.com/2016/05/06/windows-10-uwp-realsense-sr300-faces-and-the-surface-pro-3/&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;Keep you posted and best regards,&lt;BR /&gt;
	Andy&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 14:18:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/UWP-Can-t-reference-SDK-dlls/m-p/1118183#M74929</guid>
      <dc:creator>Andreas_F_</dc:creator>
      <dc:date>2016-09-15T14:18:21Z</dc:date>
    </item>
  </channel>
</rss>

