The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

using C# .cs file within a vb.net project

Hi Guys,

Help.

I have a .cs file that I need to use with my  vb.net project.

I have visual studio standard edition..  so I am able to mix the  vb.net project and add a c# project with that .cs file in it..  however this creates a separate  .dll library for the  cs content..  I need to have it all internal?  Is it possible?


the  .cs contain some licensing copy protection so I can really have it as an external dll file.

Any suggestions?

I dont know enought to rewrite it as a vb.net code..
cTOvb
Sunday, October 08, 2006
 
 
There are converters available, plus you can always convert the compiled assembly it back to vb.net by decompiling the IL using Reflector.

But I don't think there is a way to mix languages within an assembly.
Cade Roux Send private email
Sunday, October 08, 2006
 
 
The reason for teh seperate assemblies is that the different files necessitate different compilers, hence two assemblies.

Since assemblies are IL they can be merged into one assembly.

see:
http://research.microsoft.com/~mbarnett/ILMerge.aspx
Graeme
Monday, October 09, 2006
 
 
You can combine files written in different languages by creating a multi-fle assembly, though you'll have to do without Visual Studio support.

http://msdn2.microsoft.com/en-us/library/168k2ah5.aspx
Charlie Williams Send private email
Monday, October 09, 2006
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz