VB.Net-C# integration

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
 
D

Daniel Bass

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.
 
K

Kevin Spencer

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top