Installation and deployment
Version 7.x > Installation and deployment > using both vb and C# in app_code folder View modes: 
User avatar
Member
Member
jmarchand-technologyevaluation - 4/8/2013 3:40:50 PM
   
using both vb and C# in app_code folder
So we have some custom objects that we would like to move over to the new installation of kentico. We have found online that if we create two folders in side the App_Code folder; CSCode and VBCode we can configure the project to run both languages in the app_code. C# and vb.net

Web Config:
<!-- Different programming languages BEGIN -->

<codeSubDirectories>
<add directoryName="CSCode"></add>
<add directoryName="VBCode"></add>
</codeSubDirectories>

<!-- Different programming languages END -->

My question, is this alright to do this within kentico. By doing this will this break any future updates or cause any know issues with in the kentico project?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 4/9/2013 8:24:51 AM
   
RE:using both vb and C# in app_code folder
Hello,

Yes in general, there is no problem with this configuration. You can use the both programming languages in the same project, just not in the same file.

Best regards,
Martin Danko