BUG: Visual C++ .NET Custom Wizard [!loop=n] directive crashes Visual Studio .NET (810304)
The information in this article applies to:
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
SYMPTOMSWhile creating a new project, the Visual Studio .NET
integrated development environment (IDE) stops responding and eventually
crashes. You receive the following application error message for
Devenv.exe: The instruction at "0x02cadfa8" referenced
memory at "0xc0000000". The memory could not be
"written". CAUSEThe Visual Studio .NET wizard engine, VsWizard.dll,
processes a project template file (such as Templates.inf or a template that is
specified in Templates.inf) that contains the directive [!loop = n]
...
[!endloop] where n is a literal numeric value. The engine does not recognize the
numeric value.
NoticeSee bug
VisualStudio7:575018 in the VisualStudio7 database for
details.WORKAROUNDTo work around this issue, modify the template file
directive to use the alternative syntax [!loop = symbol]
...
[!endloop] where symbol is a template symbol that is defined with a numeric value.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 1/5/2006 |
---|
Keywords: | kbvs2002sp1sweep kbBug kbExtensibility kbwizard kbide kbCustomWizard kbCodeGen KB810304 kbAudDeveloper kbAudITPRO kbAudOEM |
---|
|