Missing namespaces

Posts   
 
    
Aglaia avatar
Aglaia
LLBLGen Pro Team
Posts: 535
Joined: 07-Sep-2003
# Posted on: 21-Aug-2007 14:21:07   

Question: When I compile the VB.NET code I generated with LLBLGen Pro, I get all kinds of errors about missing namespaces, what's wrong?

Solution: It is recommended that you use the generated Visual Studio.net project files. When you add the classes to a project you created manually, do not specify a 'Root namespace' in the VB.NET project properties in Visual Studio.NET, this name is also used as a prefix for namespace names in VB.NET. This name is filled in by default by Visual Studio.NET, so you have to clear that textbox manually. See the note in the LLBLGen Pro documentation: Using the designer / Generating Code, at the bottom.