Will Windows 8 Release Preview support Bing Maps? - windows-8

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.

Related

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.

Does Microsoft provide offline API documentation for .NET 4.0?

Does Microsoft provide offline API documentation for .NET 4.0 (C#, VB.NET, and C++)? The latest I can find on MSDN is .NET 3.5 SP1. I am more interested in the class library than the examples and articles on proper usage, though these would be desirable to have when I am not able to connect to the internet.
Yes.
Visual Studio's built-in Help Viewer can download as much of MSDN as you want.
Open Help Viewer, then click Manage Content
Yes.
If you install Visual Studio, you also install a tool called the Help Viewer.
There, you can download any MSDN documentation (4.0 included) for offline use.
Yes. Once you install the HTML Help Viewer, click the "Contents" button from the toolbar, from there you can select what documentation you want to download to your local machine.

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.

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

Why don't Windows SDK for Windows 7 and .NET Framework v4 get installed?

I have a Windows 7 64-bit computer with Visual Studio 2008 and Visual Studio 2010 Professional installed (C# only).
Now I want FxCop. I read first we should install Microsoft Windows SDK for Windows 7 and .NET Framework 4, so I wanted to do so, but it gives me error and says installation failed, go find more details in some HTML page in a folder path that it does not even exist:
Installation of the “Microsoft Windows SDK for Windows 7″ product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
So two questions:
I do not care about the rest of the stuff. I just want FxCop! Do I really need to install this SDK too?
What do you think is the problem when its installation fails?
I had a very similar problem. You don't need to install the SDK to do it. However, you still need to download it which is unfortunate as it is a pretty large download after all. Why it isn't a separate download is beyond me...
Anyway, I extracted the install files I needed by following the information in XXX.
In brief, you need to do this (edited from the link above):
Download the ISO version instead, extract it with 7Zip and locate
Setup\WinSDKNetFxTools\cab1.cab. Open it with Windows and copy out the
file
"WinSDK_FxCopSetup.exe_all_enu_1B2F0812_3E8B_426F_95DE_4655AE4DA6C6".
Rename this to "WinSDK_FxCopSetup.exe" and it should now install.
You can also browse the ISO image with suitable tools rather than unextracting the whole thing.
Given the date of this post, you might have already found the solution, but it may help others who come acros this issue.
From the page above there is a comment linking to another explanation that is better detailed: Liberate FxCop 10.0.