PRB: Compile Error when Declaring MSVSAEventSourceInstaller (242867)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Studio, Enterprise Edition 6.0
This article was previously published under Q242867 SYMPTOMS
When compiling a Visual Basic project that accesses the Visual Studio Analyzer programming interfaces, the following error may occur:
Compiler error:
Expected user-defined type, not project
CAUSE
The project contains references to both the automatable (Visual Basic and Visual J++) and non-automatable (Visual C++) interfaces.
RESOLUTION
Remove the references to the non-automatable interfaces from Project References.
REFERENCES
For more information, see the following in the Microsoft Developer Network (MSDN) Library:
Visual Studio 6.0 Documentation; Visual Studio Documentation; Component, Design and Analysis Tools; Visual Studio Analyzer Reference; Visual Studio Analyzer Concepts; Extending Visual Studio Analyzer; Guidelines for Customizing Your Application
Visual Studio 6.0 Documentation; Visual Studio Documentation; Component, Design and Analysis Tools; Visual Studio Analyzer Reference; Visual Studio Analyzer Language Reference
Modification Type: | Major | Last Reviewed: | 5/8/2003 |
---|
Keywords: | kbEEdition kbnofix kbprb kbVSVisAnalyzer KB242867 |
---|
|