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 see no item templates other than .resw for Windows 8.0 store projects in "Add new project item" in Visual Studio 2013 RC in Windows 8.1


Symptoms

Assume that you have Microsoft Visual Studio 2013 Release Candidate (RC) installed on Windows 8.1. When a Windows Store app project for Windows 8 is loaded by using Visual Studio 2013 RC, you see no templates in Add New Item dialog box under the Windows Store node other than the .resw resource file. Therefore, you cannot add any new Windows Store item templates to the project.

↑ Back to the top


Workaround

To work around this issue, follow these steps:
  1. In Notepad, open the Microsoft.Cpp.Props file that is located in the following folder:
    %PROGRAM FILES%\MSBuild\Microsoft.Cpp\v4.0\V120
  2. Find the following "PropertyGroup" property group:
    <PropertyGroup>
    <!-- Win8 store projects did not define ApplicationType* in the project file-->
    <Win8AppStoreProject Condition="'$(ApplicationType)' == '' and ('$(AppContainerApplication)' == 'true' or '$(WindowsAppContainer)' == 'true')">true</Win8AppStoreProject>
    </PropertyGroup>
  3. Replace the "PropertyGroup" code with the following code:
    <PropertyGroup>
    <!-- Win8 store projects did not define ApplicationType* in the project file-->
    <Win8AppStoreProject Condition="'$(ApplicationType)' == '' and ('$(AppContainerApplication)' == 'true' or '$(WindowsAppContainer)' == 'true')">true</Win8AppStoreProject>
    <AddItemTemplateGuid Condition="'$(Win8AppStoreProject)' == 'true'">{8C3FFDCC-9A63-43F2-9A3E-C45FB2ABF450}</AddItemTemplateGuid>
    </PropertyGroup>

↑ Back to the top


More Information

In Windows 8.1, Visual Studio 2013 RC supports the ability to maintain Windows Store apps that are designed for Windows 8.0. To enable this feature, you must install "Tools for Maintaining Store Apps for Windows 8" during setup. 

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

↑ Back to the top

Article Info
Article ID : 2888127
Revision : 1
Created on : 1/7/2017
Published on : 9/9/2013
Exists online : False
Views : 144