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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0New, Template Based, Module problemNew, Template Based, Module problem
Previous
 
Next
New Post
1/21/2009 3:21 PM
 

I'm new to building modules and wanted to try something simple.

I've downloaded DNN 5 along with the Visual Studio integration piece.  I've installed DNN onto my local Hard Drive and added it to IIS, and gone thru the installation process.  The local DNN runs correctly on the local hard drive.

I used the Visual Studio installer to ass DNN 5 templates to my compiler.

Did a File -> New -> Project and selected DNN Compiled Module listed under Other Languages - VB.  The template/wizard did all of it's work and created a my project.  I followed the directions and removed the Root namespace from the project and did a complete Solution Build - receive NO Errors.

With the first compile complete, I went into every source module I could find and changed the Namespace to com.mycompany.DNNModule.test.  I changed every VB module in Components and changed all of the Code Behind the 3 ascx forms (Edit, Settings and View.)

Now, Visual Studio is giving me errors :(

For example, in EditTest.ascx.vb, the compiler is reporting cmdDelete is not declared (there are several txt and ctl entries that also appear not to be declared.)  Settings.ascx.vb is reporting items not declared as is ViewTest.ascx.vb.

I can only assume I have a NameSpace not set someplace, but I don't see it.  Since this is the only thing I've changed so far, I'm unsure what I missed or how to find it.  Any thoughts?

 

Bob

 
New Post
1/21/2009 6:29 PM
 

Hey Bob,

You'll want to verify that the namespaces at the top of the actual ASCX files are updated as well - try ctrl+shift+f in Visual Studio and saerch for old occurences of the original namespace in all files.

Hope that helps,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
1/22/2009 9:44 AM
 

Ian,

 

It turned out that I'd missed the designer.vb files for 3 of the modules :(  I thought I had everything, but...  Missed the 3 .ascx files in App_LocalResources.

 

I'm not as comfortable using VS as I should be :(

 

Thanks for the help!

 

Bob

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0New, Template Based, Module problemNew, Template Based, Module problem


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