VB.Net-C# integration

  • Thread starter Thread starter Madhuri Mittal
  • Start date Start date
M

Madhuri Mittal

I have a ASP.net application written in VB.Net which is
the main application. I have another ASP.net application
written in C#. I want to integrate the C# project files
into the VB.net project ( without having to convert C#
code to VB.net ) . The C# project contains few aspx pages
and couple of C# utility classes.

What would be the best way to integrate the C# files into
VB.net project and run these successfully within the
ASP.net app?

Thanks

Madhuri Mittal
 
you should be able to just add your C# files to the project, and as long as
the <%@ Page directive specifies the file and language in the code behind
page, you should have no problem.
 
You can't put them in the same project. But you can have 2 projects that are
in the same solution.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
 
Back
Top