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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryHOW TO: Making code changes and recompiling Repository 3.XHOW TO: Making code changes and recompiling Repository 3.X
Previous
 
Next
New Post
6/1/2008 8:33 AM
 

MPORTANT NOTE:!  3.01.X is still a .Net 1.1 assembly and as such can only be edited and recompiled using VS2003.

Pre-reqs:
1) VS2003
2) Working 3.X DotNetNuke web site
3) Nant (optional: for repackaging)

Preparing your development environment:
1) download the 3.01.14 source package
2) open IE and run your DotNetNuke 3.X web site
3) log on using the Host account
4) go to Host->Module Definitions
5) Install the Repository 3.01.14 Source package you downloaded the same way you install a normal install package
6) exit the browser

Modifying the Repository module code:
1) Open VS2003, open the /DesktopModules/Repository/DotNetNuke.Repository.sln solution file
2) check all the project references to make sure they're correct, fix any that are not (they might not be correct if your DotNetNuke web site is not is the default location of inetpub/wwwroot/dotnetnuke
3) rebuild the solution, hopefully it wil build cleanly the first time
4) now, you can debug the code, modify it, test, etc.

Re-Packaging the module for distibution/installation:
1) rebuild the solution in Release mode
2) exit VS2003
3) use Nant to execute the build file, DotNetNuke.Repository.build. If you have Nant installed, there is a 'build.bat' command file to make it easy, just open a command window, browse to the Repository folder and type  'build'  and hit Enter.

When done, look in the /DesktopModules/Repository/package folder, you'll see two new .zip files, one install pacakge and one source package. You can now take the install package and install it on ANY DotNetNuke web site, either 3.X or 4.X.

 
New Post
8/29/2008 12:39 PM
 

For the dnn site does it have to be the source or can i use install

 
New Post
8/29/2008 1:06 PM
 

When i try to install it after i modify and use nant it says cannot find .dnn file

 
New Post
8/29/2008 2:22 PM
 

install is fine

 
New Post
8/29/2008 2:23 PM
 

make sure you are in the /DesktopModules/Repository folder when you run nant

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryHOW TO: Making code changes and recompiling Repository 3.XHOW TO: Making code changes and recompiling Repository 3.X


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