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 Startedbuild a module for all DNN versionsbuild a module for all DNN versions
Previous
 
Next
New Post
8/21/2010 8:51 AM
 
hi

I'm a bit confused about delivering my DNN module to different dnn versions.  I have created a simple module based on the LINQ to SQL tutorial here:
http://www.adefwebserver.com/dotnetnukehelp/LinqTutorial/

It have it running and have been able to build the package and install the module to another server without too much trouble.

I have built the module against DNN 5.5. I would like to be able to build it for any DNN version.

How do I go aboit this?  I have used some modules that seem to work on any DNN version and others that have versions for 4.x and 5.x respectively,

What's the best approach to take?

thanks
Gus

"if the only tool you have is a hammer you tend to see every problem as a nail" http://www.carawaydesign.com
 
New Post
8/21/2010 7:21 PM
 
you need to build it against minimum version supported. if you are using supported API only, it should be compatible with all subsequent version until a breaking change (might be happen in DNN 6)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/22/2010 3:56 AM
 
thanks very much Sebastien.

I have been working with the latest dnn5 version so I will have to start again with version 4.x.

I have built the module as per the tutorial by adding files/folders straight to the DNN project. I am using Visual Web Dev 2010.

Do you know how I can create the module as a separate project so I can compile against different dnn versions more easily and keep the modules in a more organised way?

thanks Gus

"if the only tool you have is a hammer you tend to see every problem as a nail" http://www.carawaydesign.com
 
New Post
8/23/2010 6:10 AM
 
you may place your module projects whereever you like, but I prefer to develop inplace (i.e. create a solution in desktopmodules/mycompany folder with all the files inside, this allows me to modify and compile quickly w/o a need to package and install. Of course I have a second and third DNN installation (min/max supported DNN version) for testing packages and version compatibility.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting Startedbuild a module for all DNN versionsbuild a module for all DNN versions


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.