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

HomeHomeDevelopment and...Development and...Getting StartedGetting Started20 steps to build DNN community20 steps to build DNN community
Previous
 
Next
New Post
11/22/2011 2:50 AM
 

Since I wasn't able to compile&build current CommunityVersion of DNN (downloaded  2011-11-21) because it's full of errors, I build it from current trunk version of sources.

Here are 20 steps for complete beginners. If this is compeletely misleading, please correct me, but I didn't found any simple guide how to build it...

20 steps to build DNN community edition

  1. Download last trunk version
  2. Download community version (currently 2011-11-22 full of bugs so we will use trunk to compile...)
  3. we will work with trunk version, but we need packages and modules from community for successfull install
  4. install SQLEXPRESS if not installed
  5. unzip "c:\Install\DNN\trunk\Externally Sourced\DDRMenu_02.00.01_Install.zip" to c:\Install\DNN\trunk\Website\bin
  6. check that trunk website project is .NET4; if not change in property pages...
  7. create DotNetNuke_Community website in IIS if it's not created by VS
  8. setup site for .NET4 classic
  9. decide which account will be used to access SQL and if windows authentication will be used
  10. setup apppool to account which will be used if WA will be used to access SQL
  11. create DB for DNN, let's say it will be 'dnn'
  12. add corrent login/user to you DB (here 'dnn')
  13. build trunk version, step by step Instrumentation, Library, Razor, Client, Web, SolutionItems / I don't rememeber correct order, fiddle with it
  14. run the website, go through the wizard
  15. after wizard finished, DNN site will popup but with errors / mine was 'DotNetNuke.Services.Exceptions.ModuleLoadException: Couldn't load menu style 'admin/Menus/DNNAdmin'
  16. copy all non empty folders in c:\Install\DNN\public\Website\Install to c:\Install\DNN\trunk\Website\Install - this will enable succe
  17. go to the http://localhost/DotNetNute_Community/Install/install.aspx?mode=InstallResources - modules will be reinstalled
  18. rebuild trunk once again to have your compiled modules up-to-date
  19. should be working fine now
  20. have some fun with DNN...
 
New Post
11/22/2011 7:32 PM
 
an easier option for just running DNN (instead of re-compiling the library) would be using Microsoft Web Platform Installer, you may download from http://www.microsoft.com. It will take care of any prerequisites as well.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/23/2011 3:26 AM
 

What exactly to you mean the latest community version is full of errors ???

It builds just fine for me - you DO NEED to do RELEASE BUILD before anything will work correctly - this is well documented
 - but that's simply based on the fact that the msbuild scripts included with the dnn source do noto create the website install elements in DEBUG mode.

In addition there is no real need to go thru the steps you list for the trunk either - the msbuild script will again build the trunk to a working install if you build the project in  RELEASE mode as opposed to DEBUG.

This includes creating all the dll's and installing them to the web site project bin folder.

Putting it another way - when you first download the source code all that exists is just that - the SOURCE code - there are no dll's or core installer elements in the website project.

Running a full build in RELEASE mode causes all these elements to be created and the copied / merged into the correct places by the msbuild script.

Westa

 
New Post
11/23/2011 3:27 AM
 

What exactly to you mean the latest community version is full of errors ???

It builds just fine for me - you DO NEED to do RELEASE BUILD before anything will work correctly - this is well documented
 - but that's simply based on the fact that the msbuild scripts included with the dnn source do noto create the website install elements in DEBUG mode.

In addition there is no real need to go thru the steps you list for the trunk either - the msbuild script will again build the trunk to a working install if you build the project in  RELEASE mode as opposed to DEBUG.

This includes creating all the dll's and installing them to the web site project bin folder.

Putting it another way - when you first download the source code all that exists is just that - the SOURCE code - there are no dll's or core installer elements in the website project.

Running a full build in RELEASE mode causes all these elements to be created and the copied / merged into the correct places by the msbuild script.

Westa

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting Started20 steps to build DNN community20 steps to build DNN community


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