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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Compilation error in dnn 5.6.2Compilation error in dnn 5.6.2
Previous
 
Next
New Post
3/25/2011 6:57 AM
 
???
Excuse me, but if i develop a dnn module i need to use visual studio to develop it and test it, so i have to compile the entire solution and i don't remove the DotNetNuke.Framework.jQuery.RequestRegistration() line (in admin/Skins/jQuery.ascx.vb:file) i got a compilation error!!!
 
New Post
3/25/2011 8:44 AM
 
You will, of course, need to use Visual Studio (or other tool) to develop a module but will never be compiling DotNetNuke website code with that of your module project. There are two basic approaches to developing a module:

1. Website project (WSP) - Your module is developed within a child folder of DesktopModules and if the project makes use of non-code file components) in a corresponding child folder of App_Code. All of your code will be "just in time" compiled automatically when the website starts up. When moving the module to a live site need to distribute all .vb or .cs files as there will be no compiled assembly created.

2. Web application project (WAP) - In Visual Studio you will be creating a solution and project file which will reference the DotNetNuke.dll and other assemblies as needed. The project will most likely (but not necessarily) be located in a child folder of DesktopModules. When you build the project you will be compiling your code behind and other component code into one or more assembilies. Only your project assembilies, .ascx user controls (module controls), SQL script files, resource files, etc.  - not your .vb and .cs files will need to be distributed when moving the module to a live site. Once again, the website itself is not pre-compiled.

To learn more about module development and some of the available Visual Studio module templates you may want to look at the following resources:

http://www.dotnetnuke.com/Resources/T... (WAP)
http://www.dotnetnuke.com/Resources/W... (WAP and WSP)
http://www.dotnetnuke.com/Community/W... (WAP)
http://www.adefwebserver.com/DotNetNu... (WSP)
http://www.dotnetnuke.com/Resources/F... (WSP)



Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
3/25/2011 10:07 AM
 
and if we compile the site with visual studio, do we destroy the installation? or we will just ignore that error?
 
New Post
3/25/2011 10:39 AM
 
Attempting to compile the website code should not damage the installation. You can ignore the error message - just be sure to restore any file that you removed in trying to get website compilation to work.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
4/14/2011 1:55 PM
 
I had the same problem. But I got it rebuild by adding "Global" in front of the line generated error in the file admin/Skins/jQuery.ascx.vb

Global.DotNetNuke.Framework.jQuery.RequestRegistration()
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Compilation error in dnn 5.6.2Compilation error in dnn 5.6.2


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