Yesterday i was working on a web application which uses vb classes. I have added a c# class added but asp.net compiler does not compile it as app_code folder becomes a single assembly so it allows only vb or C#.
Tip:
To compile both C# and VB, add this in web.config.
<compilation debug="false">
<codesubdirectories>
<add directoryname="VBCode">
<add directoryname="CSCode">
</add>
</add></codesubdirectories></compilation>
For more information, see this post.
1 comment:
nice blog adeel. keep posting.
Post a Comment