How do I rename an already compiled C#.Net project

I started a project called TestDll which was to create an executable to test my dll.  It produces TestDll.exe.  

I have now modified this to be a permanent application and no longer want "TestDll" to be the name.  I now want to name it "RMAProcessor.exe".  How do I change the compiled name?  Is this where Assembly Name comes in?

Also, if I recompile with a new name, will the original TestDll.exe still be there and can it be safely deleted?
LVL 4
g_johnsonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Expert1701Commented:
In your Project Properties, on the Application tab, you can change the "Assembly name" field to produce an executable with a different name.  In Visual Studio 2008 SP1, rebuilding the application will remove the old executables automatically; I don't know about other versions, but you could safely delete these old files from the bin\Debug folder.

You will also want to change the contents of the AssemblyInfo.cs file (under the Properties folder in Solution Explorer) to reflect the new Assembly name.
0
g_johnsonAuthor Commented:
****** You will also want to change the contents of the AssemblyInfo.cs file (under the Properties folder in Solution Explorer) to reflect the new Assembly name. ******

Would I do this before or after I compile?
0
Expert1701Commented:
Before you compile; the information in the Assembly.cs file will be embedded in the executable file.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
g_johnsonAuthor Commented:
Perfect. Thank you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.