rename project for class library

G

gordon

Hi

I have a piece of development code that is to build a class library that i
run within another application. I find it hard to change the name of the
project after I have started the project. For example I have a folder called
c:\eg_3 and the project is called eg_3. How do I change the project so that
the dll file is named, say eg_4.dll rather than eg_3.dll. I have tried
renaming the folder, renaming the form, the class, and the project but i
still get eg_3.dll as the compiled library.

Anything i can do to resolve this?

Doug
 
D

Daniel O'Connell [C# MVP]

gordon said:
Hi

I have a piece of development code that is to build a class library that i
run within another application. I find it hard to change the name of the
project after I have started the project. For example I have a folder
called c:\eg_3 and the project is called eg_3. How do I change the
project so that the dll file is named, say eg_4.dll rather than eg_3.dll.
I have tried renaming the folder, renaming the form, the class, and the
project but i still get eg_3.dll as the compiled library.

Anything i can do to resolve this?

I assume you are using visual studio. You can change the output files name
in the project properties. Change the "Assembly Name" field to what you
want.

If you are using a different IDE you'll have to figure out how that IDE
handles it. The commandline compiler uses the /out: switch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top