473,466 Members | 1,405 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# & VB in same project.

Hello,
with VS2005 BETA, is it possible to use multiple languages in the same
project? For instance, can i have project with certain classes
implemented in VB and others with implemented built in C#?

thanks

Nov 17 '05 #1
3 1049
I don't know the answer, but why would you want to? Why not pick one
language, and just go with that? They are virtually identical in
functionality.

And if you do have a situation where you need to use one of them for a
particular class, but the other for everything else, is it really so
difficult to just have 2 projects?

"farseer" <fa*****@optonline.net> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Hello,
with VS2005 BETA, is it possible to use multiple languages in the same
project? For instance, can i have project with certain classes
implemented in VB and others with implemented built in C#?

thanks

Nov 17 '05 #2
Ideally, that would be true...but, we don't always have a choice when
time is factored in.

i am aware of my options to solve the problem. However, the easiest
solution would be if the environment did support multiple languages, as
advertised(?). That is the question i am hoping someone may be able to
answer.

Nov 17 '05 #3
with VS2005 BETA, is it possible to use multiple languages in the same
project?


I'm sure you can write an MSbuild script that invokes both the C# and
the VB compiler, but I'm not sure how VS would react to it. The VS
project system is still very much centered around one language per
project.

Of course, even if you did this you'd end up with two binaries, just
like you would with two separate projects.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 17 '05 #4

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...
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...
17
by: Arpan | last post by:
When a Button is clicked in a Web Form in an ASPX page, the Form will post back to itself. Under such circumstances (i.e. when a Button is clicked), will the Page_Load sub execute first & then will...
7
by: shil | last post by:
Can I have both 1.1 and 2.0 frameworks installed on same machine? I have 2005 already, for some reason I had to install 2003. When I try to create a new project in 2003, I get an error as below: ...
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, ...
11
by: gnewsgroup | last post by:
First, just in case, BLL = Business Logic Layer and DAL = Data Access Layer. I guess this is really a question about architecture. I believe there are many architect here. Software...
2
by: =?Utf-8?B?Vi5DaG9ja2FsaW5nYW0u?= | last post by:
IDE : VS .NET 2003, Platform : .NET 2.0, Hi All, I have my project in VS.Net 2003 (VB.Net). The OS is Vista Ultimate. In a form's Button_Click() event i call a dll which calls another dll and...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.