VB and C# code together in VS2005

J

Johndow

I believe it is a feature in VS 2005 you can write VB and C# in the same
project.
It is ture if the project type is a web project. However in a libary project
that compile to a DLL, once I select a language to start up, I cannot have a
class of another language compiled.

Anyone know is it supported to have both VB and C# in the same Dll project
in VS2005?
Thanks.
 
G

Guest

Supporting both C# and VB.NET is actually the feature of ASP.NET. As I
understand now each page is compiled into assembly, instead of one big
assembly with all the pages together. This is the reason you can work with
both languages. I haven't tried, but it might work with Web Services project
as well. But with any other projects like Console App, Win apps, or libraries
you won't find this behavior.
 

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

Top