Create in the App_Code folder two subfolder, called for example VB and CS:
App_Code
->VB
->CS
Next, add in the web.config this lines:
<system.web>
[...]
<compilation>
<codeSubDirectories>
<add directoryName="CS"/>
<add directoryName="VB"/>
codeSubDirectories>
<compilation>
<codeSubDirectories>
<add directoryName="CS"/>
<add directoryName="VB"/>
codeSubDirectories>
[...]
compilation>
system.web>compilation>
PS: obviously, you have to put all vb.net classes in a folder and all the c# classes in the other folder...
No comments:
Post a Comment