Hi Baartezu and many thanks for the link. I develop in a DotnetNuke Source environment using VS2008. Within the DeskTopModules I include a folder for the Module I am going to develop.
In that Folder I place my ascx and ascx.vb for the Settings module and function module, plus any .resx files. I add a DNN file so I can add the module to DNN in my test environment and then instantiate it on a page for testing. If there are any SQL routines they are included in a SQL Provider in App_Code. This is fine and dandy and I can debug the modules in VS2008 with no problems at all. Great so far.
Now then, it is at this stage when testing is complete, that I now want to package this together as a DLL in VS2008, (let's say to send to Snowcovered for example), from my development Folder in DeskTopModules, plus any SQL stuff in App_Code with NONE of the .ascx.vb files in sight in the PA.zip file. I was actually hoping, in my naivete that I could look up a simple step-by-step process for achieving this. The closest we have come is your description in the link you provided.
(Actually I sympathise with the poster that you were replying to, Baartezu, on that thread, because that is exactly my position. I have been working with DNN for 3-4 years but so far all my modules are still in source on the server. I have many years of programming so I have no problems there. But the simplest of jobs, or what should be the simplest, seems to be a very well kept secret.