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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error in builing added DNN project to the solutionError in builing added DNN project to the solution
Previous
 
Next
New Post
10/26/2013 11:38 AM
 

Hi there,

I am new to DNN. I Create an empty solution. I add an empty asp.net web application project to the solution and then i replace all of web application with "Dnn Project" i downloaded from this site. I add reference to all dll of bin folder. The problem is here: When i build project I get following errors:

Error 7 Type 'DotNetNuke.Modules.Admin.Users.ViewProfile' already defines a member called 'OnLoad'

Error 6 Type 'DotNetNuke.Modules.Admin.Users.ViewProfile' already defines a member called 'OnInit'

Error 8 Type 'DotNetNuke.Modules.Admin.Authentication.Login' already defines a member called 'OnLoad' 

Error 4 The type 'DotNetNuke.Modules.Admin.Authentication.Login' already contains a definition for 'UseCaptcha'

Error 3 The type 'DotNetNuke.Modules.Admin.Authentication.Login' already contains a definition for 'Logger'

Error 2 Partial declarations of 'DotNetNuke.Modules.Admin.Users.ViewProfile' must not specify different base classes

Error 5 Partial declarations of 'DotNetNuke.Modules.Admin.Authentication.Login' must not specify different base classes

 

For the first error listed above i saw there is 2 ViewProfile class in the project with one namespace 'DotNetNuke.Modules.Admin.Users.ViewProfile' in following address:

MyWebProject\admin\Users\ViewProfile.ascx.cs

and

MyWebProject\DesktopModules\Admin\ViewProfile\ViewProfile.ascx.cs

 

Thank you.

 

 



 

 
New Post
10/27/2013 2:25 PM
 
There are Project Templates for DNN if self, that should be used.  I am at time not Aware if they includet in the Web Platform installer package, but there also some availible on codplex e.g. http://christoctemplate.codeplex.com/
 
New Post
10/27/2013 9:23 PM
 

I would suggest you have a look at some of the module development guides in the DNN wiki  http://www.dnnsoftware.com/wiki/page/....

The way you are going about things it not the correct sort of methodology to be using.

Westa

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error in builing added DNN project to the solutionError in builing added DNN project to the solution


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