Microsoft KB Archive/316742

= BUG: Template Building Block Walkthrough Adds Incorrect Class File =

Article ID: 316742

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft .NET Framework 1.0
 * Microsoft .NET Framework 1.1

-



This article was previously published under Q316742



SYMPTOMS
If you follow the steps in the &quot;Creating a Project Item Prototype&quot; section of the &quot;Creating a New Enterprise Template Building Block&quot; walkthrough, the class file that you create in the steps is not the class file that is added to your project when you test this portion of the walkthrough. Instead, the default class file is added.



CAUSE
An important step was omitted from the documentation. When you create the custom class wizard file, you must specify the name of the custom class wizard in the file. Because the walkthrough instructs you to copy this file, the contents of the file still reference the default class wizard file.



RESOLUTION
To resolve this problem, open the Csharpmycustomclasswiz.vsz file that you created in step 1 of the walkthrough in any text editor, and then change the following line

Param=&quot;WIZARD_NAME = CSharpAddClassWiz&quot;

to:

Param=&quot;WIZARD_NAME = CSharpMyCustomClassWiz&quot;



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Keywords: kbdocs kbtemplate kbbug kbpending KB316742

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.