An MSB3841 error occurs when you try to retarget a Windows 8 Store app as a Windows 8.1 Store app in Visual Studio 2013 Preview

Article translations Article translations
Article ID: 2861255 - View products that this article applies to.
Expand all | Collapse all

Symptoms

As a developer, when you retarget a Windows 8 Store app as a Windows 8.1 Store app in Microsoft Visual Studio 2013 Preview, you receive the following error message:

MSB3841: The SDK "extension_SDK_name" depends on the SDK "Microsoft.VCLibs, version 11.0", which is incompatible with projects targeting platform version "8.1".

Cause

This problem occurs because the Extension SDKs that depend on version 11.0 of the Visual C++ libraries are incompatible with Windows Store apps that are created for Windows 8.1. 

Resolution

To resolve this problem, obtain the Windows 8.1 version of the Extension SDK that is named in the error message from the SDK publisher.

If an updated Extension SDK is not available from the SDK publisher, use the following workaround to temporarily continue development on a local development environment.

Workaround

Note The Windows 8.1 Store app will not pass Windows app certification requirements until the updated Extension SDK is obtained and referenced.

To work around this issue temporarily and continue development on a local development environment, follow these steps:
  1. Locate the Extension SDK installation location, and update the SDKManifest.xml file to remove the dependency on Microsoft.VCLibs version 11.0. Extension SDKs can be located in one of three locations:
    • \ProgramFiles\Microsoft SDKs\TPI\vTPV\ExtensionSDKs
    • \Users\user_name\AppData\Local\MicrosoftSDKs\TPI\vTPV\ExtensionSDKs
    • HKEY_LOCAL_MACHINE\Software\Microsoft\MicrosoftSDKs\TPI\vTPV\ExtensionSDKs\SDK_Name\SDK_Version\@default = SDK_root
  2. Locate the desired SDKManifest.xml file in the root SDK folder, and edit the file as a text file to remove the following code from the FileList element:

    DependsOn="Microsoft.VCLibs, version=11.0"


    Note Only remove this dependency if multiple dependencies are present. Some SDKs, such as the Bing Maps SDK, have a version for both the XAML and JavaScript implementations. Edit the manifests for the corresponding SDKs that you want to reference.
  3. Make sure that the Microsoft Windows 8 Development installation option is enabled when you install the Professional, Premium, or Ultimate editions of Visual Studio 2013 Preview. If you do not know whether this option was selected during installation, locate Visual Studio 2013 Preview in the Programs and Features item in Control Panel, and then click Change to update the program. This opens the Setup menu. Click Modify, click to select the Microsoft Windows 8 Development check box, and then click Update.

    Note For Windows Express 2013 Preview, the Microsoft Windows 8 Development option is not available. Therefore, you must install Visual C++Redistributable for Visual Studio 2012 on the computer and then build and run the app.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Properties

Article ID: 2861255 - Last Review: June 26, 2013 - Revision: 1.0
Applies to
  • Visual Studio 2013 Preview
  • Visual Studio Express 2013 Preview for Desktop
  • Visual Studio Express 2013 Preview for Web
  • Visual Studio Express 2013 Preview for Windows
  • Visual Studio Premium 2013 Preview
  • Visual Studio Professional 2013 Preview
  • Visual Studio Test Professional 2013 Preview
  • Visual Studio Ultimate 2013 Preview
Keywords: 
kbexpertiseinter kbprb kbsurveynew KB2861255

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com