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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Compile takes WAY too long during module development!Compile takes WAY too long during module development!
Previous
 
Next
New Post
8/4/2009 7:58 PM
 

 I have a number of modules that I've been building for various sites and I'm working with DNN 4.9.4.

I'm finding that if I change a line of code and hit debug to run the app ... the compile goes off into outer space for sometimes upto 1/2 hour befor finally finishing and allowing me to proceed with debug activities. 

I'm using a decent dev duel core laptop with 2G ram ... the processor and memory are not throttled - but the builds take forever ... to the point that it's just about driving me mad.

Any advise - or has anyone else experienced this?

I'm  using the dev model where code files are placed into project subfolder within App_Code and UI elements are in user controls in project sub-folder within DeskTopModules...yes inheriting from DotNetNuke.Entities.Modules.PortalModuleBase and all that .. the modules work great once compiled ... just painfully slow to debug and compile!

Help !

- Don

 
New Post
8/5/2009 1:15 AM
 

Try using the WAP model for module development, we develop all our modules at Engage Software in C# using WAP project templates.

http://www.engagesoftware.com/Blog/EntryId/162/C-Compiled-DotNetNuke-Module-Template.aspx


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
8/5/2009 9:49 AM
 

We build our modules by referencing only the DotNetNuke.dll file and don't include any other DotNetNuke core files in our project.

The downside is that you can't really debug the module using the built in debugger.  The upside is that the modules build in no more than a few seconds.

 


DONEIN.NET DotNetNuke Modules
Feedback * Google Sitemaps * Meetup * Redirector * Share On Facebook * Site Map * Battleship (FREE)
Follow us on Twitter!
 
New Post
8/5/2009 10:45 AM
 

I also use WAP and reference the DotNetNuke.dll and have no issues w/ compile time or debugging. The core forum module that was just released (4.4.3) is setup this way as an example.


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
8/5/2009 12:45 PM
 

Don't use the debug run button, Start your localhost website in the browser and then use "Debug>attach to Prcess" then link to the "aspnet_wp.exe".

in the "Build>configuration manager" deselect all the build options on projects.  When you want to compile a project right click on the project and select build.

This way you only going to build the project you want to compile.

Regards,

Dave.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Compile takes WAY too long during module development!Compile takes WAY too long during module development!


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