July 9, 2015 10:47 am

Windows 10 SDK Preview Build 10166 Released

Today, we released a new Windows 10 SDK Preview and the associated Windows 10 Mobile emulators (Build 10166), to be used in conjunction with Windows 10 Insider Preview (Build 10166). Preview SDK Build 10166 contains bug fixes and changes to the API surface area.  You can download it from the Windows 10 Developer Tools page.

We do recommend uninstalling the 10158 SDK and emulators if you have it installed. This will prevent UI clutter in Visual Studio when choosing what emulator to target.

Start developing and @wpdev would love to see what you create. If you find bugs or issues, please leverage the Windows Feedback tool or MSDN forums.

What’s New in SDK 10166
This release contains other bug fixes and improvements. In addition, updates to:

  • Windows.ApplicationModel.Email
    • Additional getter properties added

Moving your projects forward
After installing the new Windows 10 SDK, update your projects with the Visual Studio Release Candidate to use the new SDK.

First, update the Project file (.csproj, .jsproj, .vcxproj) by:

  1. Opening the project in Visual Studio
  2. Right clicking on the project in the Visual Studio Solution Explorer, and choose “Properties”
  3. Depending on your project type, the UI will look a little different but click on the dropdown that says “Target Version”. The below screenshot is from a C# Project. Note: If you’re using a Javascript project, open the .jsproj and find a replace the TargetPlatformVersion with 10.0. 10166.0.
  4. Select Windows 10 Insider Preview (10.0; Build 10166).

SwitchSDKVer

Now that you have updated the project file, find the application’s Package.appxmanifest and do the following:

  1. Open that file (it should present you with an XML Editor)
  2. Find the Element, Dependencies and its child element, TargetDeviceFamily
  3. Modify the MaxVersion Tested Attribute from “10.0.10069.0” to “10.0.10166.0.”
  4. Save and close the file.

Known issues
If you haven’t upgraded the SDK from 10069/10074, this issue will affect you. This MSDN forum entry has more information:

When installing the Windows SDK 10 version 10166, an error that AppVerifier did not install correctly and setup rolls back OR When trying to uninstall Windows SDK 10 version 10069, an error that the AppVerifier package failed to uninstall.

  1. Download AppVerifier.zip  file to your PC.
  2. Extract the contents to a known location.  Example: C:\temp
  3. From an Administrative command prompt, run c:\temp\InstallAppVerifierBinary.cmd
  4. Once complete you should be able to install or uninstall the AppVerifier binaries.

If you have other issues, please post to the forums and include the following [UWP][SDK] in the title if it is a Windows 10 SDK install or uninstall issue.

Now you’re ready to use the new SDK. Start developing and @wpdev would love to see what you create. If you find bugs or issues, please leverage the Windows Feedback tool or MSDN forums.

Updated July 9, 2015 2:24 pm

Join the conversation

  1. Will we see any improvements this year to the Windows 10 tablet mode to bring the experience up to par with Windows 8.1 on tablets?

  2. Please Announcing Windows 10 Mobile Insider Preview Build..We can’t wait any more 🙂 For PC users got 3 builds within 1 week.. ..

  3. I’ve uninstalled the previous version and downloaded the setup exe, but the installer says that version 10069 will be installed. Is this a problem with the installer’s string not being updated or what? (I’ve tried both community and enterprise verion)

    • We recommended only uninstalling 10158. Keep 10069.

      We do recommend uninstalling the 10158 SDK and emulators if you have it installed. This will prevent UI clutter in Visual Studio when choosing what emulator to target.

      • I know, but shouldn’t a fresh install give me the latest version? I mean, I expected the setup to install 10166 version and not 10069. Since now I’m on 10069 again, how am I supposed to upgrade to the latest one? (Sorry for the dumb question but I don’t have a fast connection and I want to avoid redownloading stuff)

  4. Currently using lumia 620 and running build 10149. Can’t update to 10166. Are there any ways to fix it?

  5. I’m on Win10 10166 and the emulator keeps rolling back. It either says it failed to create the c:\programdata\microsoft\phone tools\corecon directory or it has insufficient privs to access it. What is going on?