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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesChange Namespace from YourCompanyChange Namespace from YourCompany
Previous
 
Next
New Post
10/15/2010 12:42 PM
 
I'm also having issues if I try to change the namespace from YourCompany.Modules.CHGR_Pivot to something else. I'm not seeing a way to set a default which would apply upon creating a solution. So I do a global search/replace from "YourCompany" to a different value. 66 changes are made.

Following that, four errors appear that indicate that Text, CreatedByUser, and CreatedDate are not members of System.Web.UI.UserControl

What's the right way to make this namespace change?

pmgerholdt
 
New Post
10/16/2010 10:44 AM
 
You are renaming tho YourCompany correct but that very same change will cause the .designer.cs files to revert to standard (non-dnn) web controls so you need to edit designer.cs back to original (you do a copy of it first)

------------------------------------------------------------------
Kontorshotell Stockholm
------------------------------------------------------------------
 
New Post
10/16/2010 10:02 PM
 
Thank you, Erik.

pmgerholdt
 
New Post
10/17/2010 6:50 PM
 
To permanently chan ge YourCompnay you need to edit the DotNetNuke Module.vstemplate file in the zip files that installing the starter kit adds to your machine under C:\Users\Philip\Documents\Visual Studio 2010\Templates\ProjectTemplates.

Edit this section
<CustomParameters>
        <CustomParameter Name="$YourCompany$" Value="YourCompany"/>
    </CustomParameters>

Cheers



Philip Beadle - Employee
 
New Post
10/18/2010 6:56 PM
 
Perfect! Thanks -

pmgerholdt
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesChange Namespace from YourCompanyChange Namespace from YourCompany


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