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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Using VS Template to Create a ModuleUsing VS Template to Create a Module
Previous
 
Next
New Post
12/6/2012 3:31 PM
 

I am not having much luck at creating a module using the VS templates.  I installed the VS template and can create a default module that will work.  The rubs come in when I want to rename stuff.

If I followed the standard DesktopModules\<company>\<module> taxonomy the project won’t compile due a missing MS assembly reference.   So its DesktopModules/<module> but the template assumes the company name folder. 

If I change YourCompany globally VS automatically modifies the designer files and flips to non DNN controls and the project won’t compile.

If I save off the designer files, change YourCompany and then copy back the designer files I get new compile errors indicating the control variables are not defined.  I can see them in the code behind and in the ascx files so this has me bamboozled also.

I wanted to customize the template to remove the need for changing YourCompany but can't because I cannot install VS 2012 SDK as it and the 2010 SDK don't see VS as installed which to me is amazing that MS' own products don't work together.

So my question is: is there a step by step guide that shows how to create a module using the VS template?

 
New Post
12/6/2012 5:56 PM
 
Update.  I tried a more simplistic approach and have it working.  I modified the template manually so I wouldn't need to change many settings.

Browse to the template folder C:\Users\\Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual C#\Web

Copy Compiled_CS.zip to your company_name_Compiled_CS.zip

Double click the new zip file and open DotNetNuke Module.vstemplate in an editor from within the zip file so it gets saved back to the zip file

Change the following: Name, Description and CustomParameter Name="$YourCompany$"
  

Save the zip file

Open Visual Studio

 

File | New | Project | C# | Web | Name of your new template

Change the project's .NET version to 4.0

 

Don't mess with the assembly or default name space

 

 


 
New Post
12/7/2012 10:13 AM
 

This is what I needed.  Its a good video to get you up and running.

 http://www.dotnetnuke.com/Resources/Video-Library/Viewer/Video/437/View/Details/DotNetNuke-Explained-Basic-Module-Development.aspx

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Using VS Template to Create a ModuleUsing VS Template to Create a Module


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