Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Help to understand packaging a ModuleHelp to understand packaging a Module
Previous
 
Next
New Post
4/30/2007 10:39 PM
 

So I have created a custom module using the DNN Module Template in VS2005. I have all these files and source code in the Module's folder under the App_Code folder and all these files and code inside the DesktopModules/MyModule folder which includes the SQL files and dnn files and such. Now when I publish the web to compiled dll's, I get a dll for each page with some name like "App_Web_viewsitecontact.ascx.22ed990f.dll" for each user control and I guess the source files  in  that were in the module folder under the App_Data folder are compiled into the APP_Code.dll. So how do you get all the files compiled with names that make sense. Have I set the development enviroment up incorrectly and how do I fix this mess. Does anyone know how to make these compile correctly?

Steve

 
New Post
5/1/2007 2:40 AM
 

Your best bet will be to convert from the WPA module to the WAP model, using Visual STudio 2k5 w/ SP1 you can create WAP projects, basically compiling all of your source code into 1 DLL, which makes for a much cleaner installation. if you have downloaded and installed the starter kit you should find a project in there for VB Compiled Module (or something similiar to that name) you can create a project using that template, and move your files into that format. That will essentially get rid of the app_Code folder for your module and all the module code will live in desktopmodules/MODULENAME folder, compiling into 1 DLL. That's the model we use for the Wiki project, and we at Engage Software use for all of our module development including those modules available at www.engagemodules.com


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
5/1/2007 7:15 AM
 

If I right click on web site and say add new item, I do not find the Compiled Module template listed. I have looked and it does exist on the Templates folder. Do I need to convert the whole web site to the WAP model and how do I do that. The structure that is in the template you recommend will give me exactly what I am looking for I think. I am running Vista with VS2005 + VS2005 SP1 + VS2005 SP update for Vista so I should have the very latest of everything along with DNN 4.5.1. Can you give me some guidance as to how to convert or what I need to do . Thanks...

 

Steve

 
New Post
5/1/2007 9:12 AM
 

have a look at the module developement tutorials from Michael Washington at dotnetnuke.adefwebserver.com, there is also one about WAP development.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/1/2007 2:39 PM
 

In VS2005 Solution Explorer, right click the solution and select Add --> New Project
Go to Visual Basic --> Web
You should have the option to add a new DotNetNuke Compiled Module there.

--Uri
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Help to understand packaging a ModuleHelp to understand packaging a Module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out