BUG: Visual C++ .NET Does Not Create a .Netmodule File by Default When You Use /clr:noAssembly Option (311416)
The information in this article applies to:
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
This article was previously published under Q311416 SYMPTOMS The Microsoft Visual C++ .NET integrated development
environment (IDE) does not create a .netmodule file by default when you specify
the /clr:noAssembly option. However, the command-line linker creates a .netmodule
file when you use the /noassembly option. Note that the IDE does not provide this behavior by
default. The Microsoft Visual C# .NET compiler and the Microsoft Visual Basic
.NET compiler also default to the .netmodule extension when you create a module
by using the /target:module option. RESOLUTION To change the extension of the output file, follow these
steps:
- Under Project Properties, select the Linker folder.
- Select the General page.
- Modify the Output File option to
YourModuleName.netmodule.
- Build your project.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
REFERENCESFor additional
information, click the article number below to view the article in the
Microsoft Knowledge Base: 309805 HOW TO: Create .NET Modules by Using Visual C++ .NET
Modification Type: | Minor | Last Reviewed: | 5/28/2003 |
---|
Keywords: | kbbug KB311416 |
---|
|