Monday, March 26, 2012

Mixed language programming

I tried to put App_code\myclass.cs and App_code\HerClass.vb together in the
same directory. I got
The files '/Transportation/App_Code/GetDriverLastLoadTrailers.vb' and
'/Transportation/App_Code/GetDpProducts.cs' use a different language, which
is not allowed since they need to be compiled together.
I thought mixed language programming was allow in .Net 2.0.
Is there something I can put into the web.config file to allow this to happen?

--
Arne Garvander
Certified Geekhttp://msdn2.microsoft.com/en-us/library/t990ks23.aspx
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com

"Arne Garvander" wrote:

> I tried to put App_code\myclass.cs and App_code\HerClass.vb together in the
> same directory. I got
> The files '/Transportation/App_Code/GetDriverLastLoadTrailers.vb' and
> '/Transportation/App_Code/GetDpProducts.cs' use a different language, which
> is not allowed since they need to be compiled together.
> I thought mixed language programming was allow in .Net 2.0.
> Is there something I can put into the web.config file to allow this to happen?
>
> --
> Arne Garvander
> Certified Geek

0 comments:

Post a Comment