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.0ModuleNameInfo.cs & AssemblyInfo.vb use a different language ??ModuleNameInfo.cs & AssemblyInfo.vb use a different language ??
Previous
 
Next
New Post
1/10/2006 9:30 AM
 

Hello

I made a module in VS2005, this module works fine with my local version of DNN4.0.2 then I followed this : http://forums.asp.net/1114393/ShowPost.aspx to export my module to another site, but I get this error : System.Web.HttpException: The files '/App_Code/SearchAd/SearchAdInfo.cs' and '/App_Code/AssemblyInfo.vb' use a different language, which is not allowed since they need to be compiled together.

The module is in C#, as you can see...

Hope some one can help me....

thx....

/Anders Jensen
DNN : 4.0.2

 
New Post
1/10/2006 1:50 PM
 

The problem sounde like you have forgotton to modify the following section in the web config before you publish the web site inVS 2005

<compilation>
      <codeSubDirectories>
        <add directoryName="YourAppName"/>
      </codeSubDirectories>
</compilation>

regards

HP


Best regards
Hans-Peter Schelian
www.schelian.com (English)
German DotNetNuke Community
 
New Post
1/13/2006 5:43 AM
 
I supose that this problem don't exists if I distributed my C# modules with pre-compiled classes, isn't it?
 
New Post
1/14/2006 8:50 AM
 

Yes I ran into that same problem too. In my case I just converted the darn thing to VB. This conversion tool is really good:

http://www.carlosag.net/Tools/CodeTranslator/Default.aspx

 



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
4/30/2007 12:19 PM
 

<compilation>
      <codeSubDirectories>
        <add directoryName="Survey"/>
      </codeSubDirectories>
</compilation>


http://www.phudohotel.com. Powered by Dotnetnuke. Develop by papacmps
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0ModuleNameInfo.cs & AssemblyInfo.vb use a different language ??ModuleNameInfo.cs & AssemblyInfo.vb use a different language ??


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