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.0making C# module in DotNetNuke 4.3.6 using VS2005making C# module in DotNetNuke 4.3.6 using VS2005
Previous
 
Next
New Post
11/29/2006 6:00 AM
 

plz any body tell me that how i can make C# module in DotNetNuke 4.3.6 using VS2005.when i create the module and compile it it gives the following error

Error 1 The files '/DotNetNuke4/App_Code/TrustworthyVoting/TrustworthyVotingController.cs' and '/DotNetNuke4/App_Code/Global.asax.vb' use a different language, which is not allowed since they need to be compiled together. / 

i have made Vb.net module before it works fine.plz tell me the solution.becouse i do not find any help online.

 
New Post
11/29/2006 1:26 PM
 
hi,

if have also tried to make an c# module with the new template for vs2005 but I got an error too!!!
 
New Post
11/29/2006 2:42 PM
 
You need to add the name of the directory in the APP_Code directory to the codeSubDirectories section in web.config.  An example is below.  The reason for this is the base project is in VB and the Module is in C# so it needs to know to compile them seperately. 

<codeSubDirectories>
     <add directoryName="YourDirectoryName"/>               
</codeSubDirectories>
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0making C# module in DotNetNuke 4.3.6 using VS2005making C# module in DotNetNuke 4.3.6 using VS2005


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