Yes, you can do this. This is called building an assembly. You can do this one of two ways: Create a project in Visual Studio that holds the file you want to compile and build the project. You can set the namespace in the project properties or in the file. This will compile the dll for you.
Or Use the command line compiler, for example... csc /target:library File.cs See the following link for more details http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cscomp/html/vcgrfBuildingFromCommandLine.asp Then you can reference the dll from any project On 6/16/05, osos_bahgat <[EMAIL PROTECTED]> wrote: > Hi all > I want to convert a .CS file in my application to a .dll file to use it > as a refernce of my application in visual studio.net. > I want to do like this: > using System.MyRebefence.MySubReference; > or something like this? > > any advice is appriciated. > thanks alot > > > > > > Yahoo! Groups Links > > > > > > > -- Dean Fiala Very Practical Software, Inc http://www.vpsw.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
