Home > Archive > Visual Studio > March 2004 > Mixed-language in VS 2003?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Mixed-language in VS 2003?
|
|
| James Grant 2004-03-28, 10:32 pm |
| Is it possible to write a single project using classes written in two
different languages (specifically C# and VB.Net)? For example, can I
include a class or module written in C# in a VB.Net project?
If so, where could I find documentation on how to do this?
Thank you
Jim Grant
| |
| Ed Kaim [MSFT] 2004-03-28, 10:32 pm |
| Not that I'm aware of. The way I do this is to have a project for each
language and then add references from each to the other projects in the
solution. At that point you can do pretty much anything you need to, such as
extending a C# class using VB and so on. It works across all the languages
I've tried (VB, C#, C++, J#).
"James Grant" <jgrant6@earthlink.net> wrote in message
news:n2r6c.28240$%06.15896@newsread2.news.pas.earthlink.net...
> Is it possible to write a single project using classes written in two
> different languages (specifically C# and VB.Net)? For example, can I
> include a class or module written in C# in a VB.Net project?
> If so, where could I find documentation on how to do this?
> Thank you
> Jim Grant
>
>
| |
|
| Ed,
Can you give a quick step-by-step list of how you do this. I think I might
need it here pretty soon.
"Ed Kaim [MSFT]" <edkaim@online.microsoft.com> wrote in message
news:O0OdFdgDEHA.1544@TK2MSFTNGP09.phx.gbl...
> Not that I'm aware of. The way I do this is to have a project for each
> language and then add references from each to the other projects in the
> solution. At that point you can do pretty much anything you need to, such
as
> extending a C# class using VB and so on. It works across all the languages
> I've tried (VB, C#, C++, J#).
>
> "James Grant" <jgrant6@earthlink.net> wrote in message
> news:n2r6c.28240$%06.15896@newsread2.news.pas.earthlink.net...
>
>
|
|
|
|
|