Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


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".

↑ Back to the top


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. 

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Status

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

↑ Back to the top


Keywords: kbexpertiseinter, kbprb, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2861255
Revision : 1
Created on : 1/7/2017
Published on : 6/26/2013
Exists online : False
Views : 691