daelmo wrote:
Hi there,
I'm not sure I follow you. Please elaborate more on the desire result.
When Llblgen generates code, it generates a Visual Studio project for each given model. So, what I usually do is add that project to my solution, add a reference to that project, and use the Entities in my main application - the main application being a second project within the same solution.
The result of this is two files: An Llblgen DLL and my main application Exe.
My question is, is there a way to combine the Llblgen project (actually, really just the generated code project folders) into my main project - and end up with one Exe?
If I manually move the generated code into my main project, it seems that the generated code has to have all its Import/Using statements modified to reflect that its now within an outer namespace.
Instead of
Imports LlblgenName.HelperClasses
in the Llblgen generated code, it has to be changed to
Imports MyMainProjectName.LlblgenName.HelperClasses
What I don't want to do is have to change all those Imports statements in the generated code.
Will it work if I put my main project's Namespace in the Root Namespace of the Generate Code dialog? I.e., put "MyMainProjectName.LlblgenName" instead of just "LlblgenName"?