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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorySetting up the Repository Module for Debug, HELP!Setting up the Repository Module for Debug, HELP!
Previous
 
Next
New Post
2/6/2007 10:07 PM
 

Mike is correct, the Repository module is released as a .net 1.1 module for use with DotNetNuke 3.X or 4.X.

HOWEVER, the source code is only compatible with .net 1.1 and therefore Visual Studio 2003. If you want to try converting the code to compile and run under Visual Studio 2005, you may certainly do so, but it will not be supported other than to answer generic VS 2005 and .net 2.0 questions.

Following is the only supported method for making code changes to the Repository version 3.1.10 source code until an official .net 2.0/VS2005 version of the Repository module is released.

IMPORTANT!: The source code is ONLY compatible with .NET 1.1, so you can only make code changes and recompile the source code using Visual Studio 2003. You can install the resulting package on a DotNetNuke 4.X site, but you must make any code changes on a 3.X site and rebuild the package.

PRE-REQS:
- DotNetNuke 3.X working web site
- Visual Studio 2003
- NANT Utility (http://nant.sourceforge.net/)

To make code changes:
1. Download and Install the Repository_3.01.10_Install.zip package
2. Test your local DotNetNuke 3.X web site, and test the Repository module
3. Download and Unzip the Repository_3.01.10_Source.zip package into your /DesktopModules/Repository folder
4. Load the /DesktopModules/Repository/DotNetNuke.Repository.sln solution file in Visual Studio 2003
5. Make your source code changes, compile and test
6. Make a final compile in Release mode
7. Exit Visual Studio 2003
8. run the /DesktopModules/Repository/DotNetNuke.Repository.build file

You will see 2 new packages in the /DesktopModules/Repository/packages folder, one named Repository_3.01.10_Install.zip and Repository_3.01.10_Source.zip

You can now take your recompiled install package, Repository_3.01.10_Install.zip and install it on your DotNetNuke 4.X web site.

 
New Post
2/7/2007 10:16 AM
 

Dan,
Sorry for the delayed response on this. I never got notified that someone had posted on this thread....
With regards to adding all three projects - you can choose to do so but I only added a reference to the main module project and the SQLDataProvider project (in case you want to make changes at the procedure level). If you're going to make cosmetic changes to the module which do not invovle any database changes then you don't need to add the reference to the SQLDataProvider project.
With regards to the errors you get, yes those are quickly fixed by adding the correct references and changing the names of obsolete function calls. Make sure in the Repository project you add a reference to the version of DNN that you are building against. When you add this reference I would recommend changing the Specific Version flag on the dll to be false so that the module works against later versions of DNN.

Also, please note that these changes are NOT supported or recommended by the core themselves but are my personal recommendation. As Fabian correctly pointed out the support that the core provides is for the publicly released version of the module.
Please let me know if you have any addtional questions.
Thanks

Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post
4/25/2007 1:50 AM
 

Sanjay,

I have to comment here that this was the most helpful thread on modifying a module I have found.  I just spent two days trying to figure out how to adjust the Gallery and Forum modules and kept running into the use of the Module Upgrade Wizard and the notes about only being able to modify a module with Visual Studio 2003 and DNN 3.x.  This thread offers a third alternative that from my perspective was the easiest to implement.  Here's my take on the three solutions I ran into:

1) Use DNN 3.x and VS 2003 to modify .net 1.1 modules:  The supported way, works fine but you have to have 2003 installed as well as a DNN 3.x version. 
2) Sanjay's method detailed in this thread (basically just updating the vs2003 project to a vs2005 project):  The quickest way to acomplish a minor modification.  The result is not supported but in reality there is very little changed with the way the code is organized and therefore less risky than the 3rd option.
3) Upgrade Module Wizard:  Good if you are planning on a large scale or long term modification of the code base.  It also will require a significant amount of work and complete testing.

So just wanted to say thanks Sanjay.  As of tonight I finally have the modifications I started to do two days ago in place.

Ted

 
New Post
5/20/2007 10:41 AM
 

 Have any of you tried to implement AJAX in the Repository converted to VS 2005.  I'm a little confused on how one would accomplish this being the fields are actually loaded via the html file.  Any pointers, tips, source, anything would be appreciated.

Dan

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorySetting up the Repository Module for Debug, HELP!Setting up the Repository Module for Debug, HELP!


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