want to make a dnn module
i am New to dnn. i want to make a module of dnn in c#. I am trying but there is an error(he files '/cross/App_Code/AssemblyInfo.vb' and '/cross/App_Code/ADefHelpDesk/dnnHelpDeskDAL.designer.cs' use a different language, which is not allowed since they need to be co开发者_StackOverflow中文版mpiled together).
how this Error Will be removed?
Do the following in the web.config file. you have to register your app_code subfolders to generate granular assemblies during compilation.
Your app_code should contain a folder for your custom module which contains the buisnes logic and DB access layers.(refer creating custom modules in dnn)
<system.web>
<compilation>
<!-- register your app_code subfolders to generate granular assemblies during compilation-->
<codeSubDirectories>
<add directoryName="ADefHelpDesk"/>
</codeSubDirectories>
</compilation>
</system.web>
Hope this will help you..
Try adding a code subdirectory element in your web.config file:
<configuration>
<system.web>
<compilation>
<codeSubDirectories>
<add directoryName="ADefHelpDesk"/>
</codeSubDirectories>
</compilation>
</system.web>
</configuration>
精彩评论