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 project

Hi Guys,


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

I have visual studio standard edition..  so I am able to mix the 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 code..
Sunday, October 08, 2006
There are converters available, plus you can always convert the compiled assembly it back to 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.

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.
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