<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - When deploying Kinect apps, ensure the runtime, components and device are ready...</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready/RSS"></atom:link>
	<image>
		<url>http://files.channel9.msdn.com/thumbnail/6071b179-8281-4144-9172-891bfec4cb38.png</url>
		<title>Channel 9 - When deploying Kinect apps, ensure the runtime, components and device are ready...</title>
		<link></link>
	</image>
	<description>The second post in our &amp;quot;Oh yeah, v1!&amp;quot; week is a logical next step from yesterday&#39;s post... Now that the Kinect for Windows SDK is in a v1 state and we can start officially deploying Kinect for Windows SDK based applications, one of the things we&#39;re going to be facing is just that, deployment and setup issues. Rob Relyea has kicked off helping us with just that, providing suggestions and tips... Kinect Apps – ensuring Kinect Runtime is installedKinect for Windows 1.0 enabled apps should ensure that the Kinect Runtime is installed wherever the app is installed. [Note: Kinect for Windows 1.0&#39;s latest public preview is beta 2. Parts of this blog post may be applicable to beta 2, but is primarily focused on the final v1.0 version, coming February 1st. Since v1.0 is not yet released, information I give here may change when it does release. I also am filtering this information to ensure that I am not giving away details that we don&#39;t yet want to release.] GuidelinesApp installers should install its dependencies, including Kinect Runtime – CRITICALKinect for Windows 1.0 will have a KinectRuntime-v1.0-Setup.exe that your app installer MUST chain install. In addition to installing Kinect specific software (drivers &amp;#43; runtime), KinectRuntime-v1.0-Setup.exe will ensure the following dependencies are installed: VCRT x86 and/or x64 .NET 4 client profile (or later 4.x versions like .NET 4.5) Microsoft Speech Runtime v11 x86 and/or x64 Running an app should provide a decent user experience if Kinect Runtime isn’t installed... Project Information URL: http://robrelyea.wordpress.com/2012/01/11/kinect-apps-ensuring-kinect-runtime-is-installed/ public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            if (IsKinectRuntimeInstalled)
            {
                //go ahead and load the StartupUri as defined in App.xaml
                base.OnStartup(e);
            }
            else
            {
                MessageBox.Show(Assembly.GetExecutingAssembly().FullName &amp;#43; &amp;quot; is not able to excecute.&amp;quot;
                &amp;#43; &amp;quot;An important dependency should have been installed by its setup program: Microsoft Kinect Runtime 1.0&amp;quot;);
            }
        }

        public bool IsKinectRuntimeInstalled {
            get
            {
                bool isInstalled;
                try
                {
                    TestForKinectTypeLoadException();
                    isInstalled = true;
                }
                catch (FileNotFoundException)
                {
                    isInstalled = false;
                }
                return isInstalled;
            }
        }

        // This Microsoft.Kinect.dll based type, must be isolated in its own method
        // as the CLR will attempt to load the Microsoft.Kinect.dll assembly it when this method is executed.
        private void TestForKinectTypeLoadException()
        {
#pragma warning disable 219 //ignore the fact that status is unused code after this set.
            var status = KinectStatus.Disconnected;
#pragma warning restore 219
        }
    }
 Contact Information: Blog: http://robrelyea.wordpress.com/ Twitter: @rrelyea </description>
	<link></link>
	<language>en</language>
	<pubDate>Fri, 24 May 2013 08:11:52 GMT</pubDate>
	<lastBuildDate>Fri, 24 May 2013 08:11:52 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: When deploying Kinect apps, ensure the runtime, components and device are ready...</title>
		<description>
			<![CDATA[great post &#33;&#33;<p>posted by moez</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634642278317362225</link>
		<pubDate>Tue, 07 Feb 2012 16:10:31 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634642278317362225</guid>
		<dc:creator>moez</dc:creator>
	</item>
	<item>
		<title>Re: When deploying Kinect apps, ensure the runtime, components and device are ready...</title>
		<description>
			<![CDATA[<p>Maybe you can help. I have got&nbsp;all the VB samples for SDK1 on this site to run, but I cannot get Designer to load anything. It keeps complaining that <em>Microsoft.Samples.Kinect.WpfViewers</em> cannot be found so it obviously chokes on <em>KinectColorViewer</em> etc. For the life of me I cannot find <em>Microsoft.Samples.Kinect.WpfViewers.dll</em> anywhere on the computer. Is this the problem ? If so where do I&nbsp;get the dll from ? Thanks.</p><p>posted by DrWave</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634643954594923680</link>
		<pubDate>Thu, 09 Feb 2012 14:44:19 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634643954594923680</guid>
		<dc:creator>DrWave</dc:creator>
	</item>
	<item>
		<title>Re: When deploying Kinect apps, ensure the runtime, components and device are ready...</title>
		<description>
			<![CDATA[<p>@<a href="/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634643954594923680?areaType=Blogs&amp;areaName=Coding4FunKinect">DrWave</a>:That DLL should be able to be found in %KINECTSDK10_DIR%\samples\bin\ which in my case resolved to C:\Program Files\Microsoft SDKs\Kinect\v1.0\samples\bin\</p><p>posted by gduncan411</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634644017620307112</link>
		<pubDate>Thu, 09 Feb 2012 16:29:22 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634644017620307112</guid>
		<dc:creator>gduncan411</dc:creator>
	</item>
	<item>
		<title>Re: When deploying Kinect apps, ensure the runtime, components and device are ready...</title>
		<description>
			<![CDATA[<p>Thanks. But no success. I did find the dll in a...... \bin subdirectory . I guess my problem is I don't know how the following line resolves ....mlns</p><p>xlmns:my=&quot;clr-namespace:Microsoft.Samples.Kinect.WpfViewers;assembly=Microsoft.Samples.Kinect.WpfViewers&quot;</p><p>what exactly is in clr-namespace? Do I need to put in a more complete path ? I guess I will have to take the VB.NET tutorial for beginners ! Being good with VB6 is no help anymore.</p><p>posted by DrWave</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634644261665312884</link>
		<pubDate>Thu, 09 Feb 2012 23:16:06 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634644261665312884</guid>
		<dc:creator>DrWave</dc:creator>
	</item>
	<item>
		<title>Re: When deploying Kinect apps, ensure the runtime, components and device are ready...</title>
		<description>
			<![CDATA[<p>@<a href="/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634644261665312884?areaType=Blogs&amp;areaName=Coding4FunKinect">DrWave</a>: Check your references...</p><p>I just grabbed the source and opened &quot;KinectforWindowsSDKV1\3.Camera Fundamentals\CameraFundamentalsVB&quot; and it loaded and complied for me fine. With the error you're getting I'd check your references.</p><p>My references auto resolved to &quot;C:\Users\Greg\Desktop\KinectforWindowsSDKV1\KinectforWindowsSDKV1\Dependencies\KinectWpfViewers\bin\Release\Microsoft.Samples.Kinect.WpfViewers.dll&quot;</p><p>To check references, I click on the &quot;Show All&quot; in the Solution Explorer toolbar&nbsp;and then expand References item. Make sure all appear the same, are not marked as unfound, etc.</p><p>If your references are right, if VS can find the DLL via the references, you shouldn't have to touch the WPF at all</p><p>posted by gduncan411</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634644370956267086</link>
		<pubDate>Fri, 10 Feb 2012 02:18:15 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634644370956267086</guid>
		<dc:creator>gduncan411</dc:creator>
	</item>
	<item>
		<title>Re: When deploying Kinect apps, ensure the runtime, components and device are ready...</title>
		<description>
			<![CDATA[<p>Hey Greg: Thanks for the tip. You are right - you have to go inside solution explorer, expand everythng, and click on &quot;include in project&quot; for these dll's. Then all is good.</p><p>posted by DrWave</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634644769725497729</link>
		<pubDate>Fri, 10 Feb 2012 13:22:52 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634644769725497729</guid>
		<dc:creator>DrWave</dc:creator>
	</item>
	<item>
		<title>Re: When deploying Kinect apps, ensure the runtime, components and device are ready...</title>
		<description>
			<![CDATA[Thank you Greg. My problem was similar, I had everything references. Just that I had to use these dlls by &#39;using&#39; in the c&#35; code and now it works fine .<p>posted by Hari</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634645013724750258</link>
		<pubDate>Fri, 10 Feb 2012 20:09:32 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/kinect/When-deploying-Kinect-apps-ensure-the-runtime-components-and-device-are-ready#c634645013724750258</guid>
		<dc:creator>Hari</dc:creator>
	</item>
</channel>
</rss>