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.

You cannot load Visual Studio 2012 projects that use the graphics assets content pipeline by using Visual Studio 2013 Preview


Symptoms

You cannot load Microsoft Visual Studio 2012 projects that depend on the graphics assets (mesh, image, and shader) content pipeline by using Microsoft Visual Studio 2013 Preview. In this situation, these projects are marked as "load failed" in Solution Explorer. 

Additionally, you receive an error message that resembles the following message in the output window:

<Driver name>:\code\Visual Studio 3D Starter Kit (Windows Store only)\C++\StarterKit\StarterKit.vcxproj : error : Unable to read the project file "StarterKit.vcxproj".

<Driver name>:\code\Visual Studio 3D Starter Kit (Windows Store only)\C++\StarterKit\StarterKit.vcxproj(72,5): The imported project "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\VsGraphics\MeshContentTask.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

↑ Back to the top


Cause

This issue occurs because Visual Studio 2013 Preview does not support the mesh, image, and shader content pipelines that are created in Visual Studio 2012 projects.

↑ Back to the top


Workaround

To work around this issue, follow these steps:
  1. In a text editor, open the project's .vcxproj files.
  2. Remove the following sections:
    • <ImportGroup Label="ExtensionSettings">
    • <ImportGroup Label="ExtensionTargets">
  3. Save the .vcxproj files.
  4. Reopen the project in Visual Studio, right-click the project in Solution Explorer, and then click Build Customizations.
  5. Add the following items by clicking Find Existing:
    • %ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\VsGraphics\MeshContentTask.props
    • %ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\VsGraphics\ImageContentTask.props
    • %ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\VsGraphics\ShaderGraphContentTask.props
    Note In these paths, %ProgramFiles% represents the Visual Studio installation directory. For x64-based computers, the default installation directory is C:\Program Files (x86). For x86-based computers, the default installation directory is C:\Program Files.
  6. Select the check box for all three added items, and then click OK.

↑ 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: kbsurveynew, kbtshoot, kbexpertiseadvanced, kb

↑ Back to the top

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