473,320 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

VB & C# in the same project?

JV
I've always been under the impression that a single project must contain
source code from a single language. However, I've heard a rumor that it is
actually possible to mix both C# and VB.NET in the same project?

No, I don't mean "solution" in case you are wondering if I have those terms
confused.
Nov 19 '05 #1
4 985
You can currently only have one language per project.
However, in Visual Studio 2005 you can have more than one language per
project. It's scheduled to be released later this year.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"JV" <jo**********@goisc.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I've always been under the impression that a single project must contain
source code from a single language. However, I've heard a rumor that it
is actually possible to mix both C# and VB.NET in the same project?

No, I don't mean "solution" in case you are wondering if I have those
terms confused.

Nov 19 '05 #2
It should be pointed out that the "one language per project"
is a VS.NET limitation, and that -as long as you compile
different-language assemblies in separate command-line builds-
you can have different-language-compiled assemblies
in the same ASP.NET application.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:Ow**************@TK2MSFTNGP09.phx.gbl...
You can currently only have one language per project.
However, in Visual Studio 2005 you can have more than one language per project. It's
scheduled to be released later this year.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"JV" <jo**********@goisc.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I've always been under the impression that a single project must contain source code
from a single language. However, I've heard a rumor that it is actually possible to
mix both C# and VB.NET in the same project?

No, I don't mean "solution" in case you are wondering if I have those terms confused.


Nov 19 '05 #3
Didn't gave this a try myself but AFAIK most limitations are cause by
VS.NET.

With the command line compiler you should able to compile the source code as
"modules" and to link each of those modules to produce a final single EXE.

Patrice

--

"JV" <jo**********@goisc.com> a écrit dans le message de
news:%2****************@TK2MSFTNGP09.phx.gbl...
I've always been under the impression that a single project must contain
source code from a single language. However, I've heard a rumor that it is actually possible to mix both C# and VB.NET in the same project?

No, I don't mean "solution" in case you are wondering if I have those terms confused.

Nov 19 '05 #4
You could just translate one of the languages code into the other.

"Patrice" wrote:
Didn't gave this a try myself but AFAIK most limitations are cause by
VS.NET.

With the command line compiler you should able to compile the source code as
"modules" and to link each of those modules to produce a final single EXE.

Patrice

--

"JV" <jo**********@goisc.com> a écrit dans le message de
news:%2****************@TK2MSFTNGP09.phx.gbl...
I've always been under the impression that a single project must contain
source code from a single language. However, I've heard a rumor that it

is
actually possible to mix both C# and VB.NET in the same project?

No, I don't mean "solution" in case you are wondering if I have those

terms
confused.


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Robbie De Sutter | last post by:
Hello, When I use the dotfuscator (Community Edition), all my delegate functions no longer work. I understand the reason why (the function in my delegate no longer exists under the name I try...
6
by: Rich Wallace | last post by:
All, I receive an xml doc with an element which contains a &amp; in the data. I am attempting to insert the data into a SQL Server database and I want to convert the &amp; to a "&" character before I...
2
by: Eric Zechman via .NET 247 | last post by:
I have a project in which I get xml posted via a hidden form field (data=<xml></xml>). People are entering names like Bill & Sandy Smith. this is coming over as:...
4
by: Demetri | last post by:
I posted a similar question last week and got an answer but its not working. I have three projects in a solution. Project A is a library. Project B is a web service. Project C is a windows app. ...
5
by: Al | last post by:
Hi all We have created a xml file that imports a single project using the Import element. This project compiles to a class library, but has references to two other projects that are also class...
12
by: InvalidLastName | last post by:
We have been used XslTransform. .NET 1.1, for transform XML document, Dataset with xsl to HTML. Some of these html contents contain javascript and links. For example: // javascript if (a &gt; b)...
0
by: Vijay | last post by:
Prep Courses for International Certifications, CSTE & CSQA & ISEB & ISTQB &Business Analyst & SOA Certifications in HYDERABAD. After receiving overwhelming response to our last 50+ batches, ...
2
by: Freightliner | last post by:
As per W3C validator, I replaced all & that appeared into URL or links with "&amp;" in this webpage: www.roberto089.com/press_089.html I still get two similar errors: Line 50, Column 92:...
4
by: =?Utf-8?B?MjJQb20=?= | last post by:
Hi All, This is all new to me so please be patient with me. What I have is a very large 'Al-In-One' program, not yet complete, that has over 70 Forms/Modules/Classes in it and needs to be...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.