开发者

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜