Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB.NET & C# in one project
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00784406
Message ID:
00784432
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
Marat,

When working with Visual Studio .NET, you cannot put C# and VB.Net source files in the same project. You can however put C# and VB.Net projects in the same solution. If you want to use code from the C# project in the VB.Net project, make sure the C# project is a 'class library', and you can simply add a reference to it using the Projects tab of the add reference dialog. Now when building the solution, it will first build the C# project, copy it's output to the bin directory of the VB.Net project, and build the VB.Net project.


>Is it possible to have VB.NET code and C# code in one project/solution and than compile it into ONE EXE/DLL?
>TIA
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform