A blank control template is created when you click "Edit a Copy" in Visual Studio 2012 Extension SDK


Assume that you click Edit aCopy to create a copy of a control template in Blend or in XAML Designer on a computer that has Microsoft Visual Studio 2012 Extension SDK installed. In this situation, a blank copy of the control template is created.


To resolve this issue, follow these steps:
  1. Exit Visual Studio 2012 if it is running.
  2. Download and install the latest release of the Visual Studio Update from the Microsoft Download Center. The following file is available for download from the Microsoft Download Center:
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Restart requirement

You do not have to restart your computer after you install this package.


To work around this problem, follow these steps:
  1. Open the Generic.xaml file from the following location:
    <Extension SDK installation folder>\Redist\CommonConfiguration\neutral\Themes
  2. In the default style of the Generic.xaml file, locate the default template for Visual Studio 2012 Extension SDK.
  3. Copy and paste the default template information into the blank copy of the control template that was mentioned in the "Symptoms" section.
  4. Change the xmlns names for the control template as appropriate, and use the Style attribute.


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


To view a readme file that contains more information about this issue, go to the following Microsoft website:

รหัสบทความ: 2738093 - การตรวจสอบครั้งสุดท้าย: 26 พ.ย. 2012 - ฉบับแก้ไข: 1