Hello Friends,
in this article i will give you solution which i was finding since 1 year.
normally when we crate any web application project we use the app_code folder to generate single assembly in which all the files in the App_Code folder must be in the same programming language.
but sometimes i feel that if in some complex things i need c# code file and some times i need that i want vb file for the string manupulation and all that so can i place both the languages in same app_code folder.
here is the solution for this complex question
1) Create two folders in App_Code folder name as “CSCODE” and “VBCODE” place c# files in the cscode folder abd vb code files in vbcode folder.
2)add below code in the wb.config file
<compilation debug="false">
<codeSubDirectories>
<add directoryName="VBCode" />
<add directoryName="CSCode" />
</codeSubDirectories>
</compilation>
Now please built the website.
Enjoy the code
please reply me on the same post if it will works for you.
Tags: Multiple Programming Languages in the App_Code Folder i, Use CS and VB files in App_Code
Hello ! I am Arjun Jadeja a Software Engineer by Profession. You can contribute and I will distribute your ideas through this site. Thanks and Enjoy
Leave a reply