Microsoft.Kinect not found in kinect 2.0 - kinect

I am working with Kinect 2.0 sdk. I am trying to add Microsoft.Kinect as a reference to my visual studio project 2012 but there is no such extension in the sdk folder. Where can I find the sdk? Has it been removed or is it a problem with my installation?enter image description here

You can use Microsoft Kinect nuget package. Kinect 2.0 SDK doesn't contain the reference files.

Related

Blend for Visual Studio SDK for .NET in VS2019

I need Blend for Visual Studio SDK for .NET in Visual Studio 2019 to use Interaction Triggers. In VS2017 it was in Blend for Visual Studio SDK for .NET as you can see here:
Visual Studio 2017 - What happened to Expression interactions?
Where is this option in VS2019?
Thank you
UPDATE: what I really need is System.Windows.Interactivity and Microsoft.Expression.Interactions, both of them version 4.5.0.0
You can try these nuget packages:
Microsoft.Expression.Blend.SDK.WPF: Microsofts expression blend SDK for WPF (4.0)
Microsoft.SDK.Expression.Blend: Micosoft Expression Blend SDK for 4.5
Expression.Blend.Sdk: Contains System.Windows.Interactivity (4.0, 4.5)
They all wrap Blend SDK dlls into a nuget package.
As for 2020 both of them were replaced by Behaviours as mentioned in Jan's answer in other question.
Link to NuGet package to Microsoft.Xaml.Behaviors.Wpf.
If you want to use them you have to:
Remove reference to “Microsoft.Expression.Interactions” and “System.Windows.Interactivity”
Install the Microsoft.Xaml.Behaviors.Wpf NuGet package.
XAML files – replace xmlns namespaces of interactions and interactivity with behaviour.
C# file - replace usings of interactions with behaviours.

Microsoft.Advertising.Mobile.UI - VS 2015 CTP 6

When I load a WinRT WP8 projet using AdControls into Visual Studio 2015 CTP 6 (fully updated), Intellisense tells me that he can't find the namespace Microsoft.Advertising.Mobile.UI.
Actually, the SDK still referenced from VS 2013 in the project, but the reference is not found. And I can't find any links to download it through the web.
Does anyone know a way to install it?
I'm sure that you're aware of where, Microsoft.Advertising.Mobile.UI would work only with Windows Phone 8.1 RT/Silverlight as well as WP8/7 Silverlight apps.
Reference: API Reference - Windows Phone Advertising SDK
If you're in the correct path then try downloading the Microsoft Advertising SDK from msdn.

How to resolve could not find sdk microsoft.vclibs version=11.0 error in windows 8 bing maps?

I am getting the could not find sdk microsoft.vclibs version=11.0 error while running the bing maps sample app in windows 8.please tell me how to resolve this?
Did you add a reference to "Microsoft Visual C++ Runtime Package" in the project references? (Windows -> Extensions)
download the Bing Maps SDK for Windows Store apps from here: https://visualstudiogallery.msdn.microsoft.com/224eb93a-ebc4-46ba-9be7-90ee777ad9e1
that should solve it.
Try to add reference to 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\platform.winmd' instead of 'Microsoft.VCLibs'
In the configuration manager (Build -> Configuration Manager), check that the active solution platform pulldown menu is not set to "Any", but is instead set to x86, x64 or ARM as applicable.
That fixed the problem for me.

Will Windows 8 Release Preview support Bing Maps?

I experienced an error while running the Bing Maps sample. I am trying to add Microsoft Visual C++ Runtime Package in references, but I couldn't find it. Will Windows 8 Release Preview support Bing Maps?
According to this blog post, either you don't have the Visual C++ runtime package installed or, if you have marked the check-box in the reference manager and are experiencing a set of errors (as indicated in the blog), you may have to change your target architecture--amd or x86.
There are step-by-step instructions on how to add Bing maps to your application in the documentation provided by Microsoft.

Visual Studio 2012 thinks I'm on Windows 8 and demands libraries I don't have?

I implemented the code from one of the samples in the DirectX 11 SDK from June 2010.I open my project in 2012 and then I open the sample in 2012 too,however when I run mine,it requires XAudio2_8.dll.How is thsi even possible?That's the .dll in Windows 8 and the code from the SDK is from 2010 - such .dll didn't exist back then?The weirdest thing is the SDK sample builds and runs,while my project asks for the .dll.I linked all the libs,made all the includes,I checked around the project settings,searched the whole hard drive for such a dll,nothing...What could be causing such a problem?I've also been having all sorts of other problems in the SDK under VS2012,like not recognizing types in the dx11 headers and so on.
The Windows 8.x SDK has the DirectX SDK integrated into it, which for many areas means you don't need to use the legacy DirectX SDK at all. In particular, Direct3D, DirectSound, DirectInput, etc. all have the proper headers and libs in the Windows 8.x SDK.
The DirectX SDK is quite venerable, so there are a number of older things missing: no DirectMusic playback, DirectPlay, etc. I have a blog post that provides a full inventory of what happened to everything in the DirectX SDK.
Where it gets complicated is XAudio and XInput. Both XAudio 2.8 and XInput 1.4 are part of the Windows 8.x OS, but is not available on Windows 7. If you are targeting 'down-level' to Windows 7, you have to use XAudio 2.7 and either XInput 1.3 or XInput 9.1.0. This somewhat messy story is covered in two blog entries: one for XInput and one for XAudio. The good news is that most use of XInput is actually doable with XInput 9.1.0 which is part of the Windows OS starting with Windows Vista. It's XAudio 'down-level' that requires mixing the modern Windows 8.x SDK and the legacy DirectX SDK, plus having to use the legacy DirectX SDK REDIST (DirectSetup).
The root reason you are getting a 'runtime' error instead of a 'compile-time' error is that you didn't set _WIN32_WINNT to 0x0601 for Windows 7 (or 0x0600 for Windows Vista). If you had, the XINPUT.H header in the Windows 8.x SDK would automatically use the XInput 9.1.0 version and the XAUIOD2.H header in the Windows 8.x SDK would have errored out and told you it wasn't going to work for Windows 7.
Finally, I've cleaned up and reposted many of the old Direct SDK samples to MSDN Code Gallery in such a way that they don't need the legacy DirectX SDK.
The basic rule is, if you develop XAudio2 program on Win 8, use the Windows SDK, otherwise, use DirectX SDK.
If you are working on Win7, make sure
the head file XAudio2.h you are using comes from the DirectX SDK, that's something like C:\Program Files\Microsoft DirectX SDK (June 2010)\Include\XAudio2.h, not come from the Win8 SDK, something like C:\Program Files\Windows Kits\8.0\Include\um\XAudio2.h(in case you installed the Win8 SDK)
Call CoInitializeEx(NULL, COINIT_MULTITHREADED); before calling XAudio2Create, since the old version(before 2.8) of XAaudio2 was created by COM, so it does not need a .lib file, and there is no .lib file for XAudio2 before Win8.
This page below contains a detail introduction of the version of XAudio2, you can take a look.
XAudio2 Versions