Bryuk
Bryuk

Reputation: 3345

How do I rename an EXE file and configuration from the release folder in a Windows Forms application?

I have a solution with "Name1". When I do a build, I get "Name1.exe" and "Name1.exe.config" in the bin folder.

Now I want to make some changes in this application and get "Name2.exe" and "Name2.exe.config".

I renamed the project and solution, but when I do a build I still have "Name1.exe".

How can I get another name for my EXE file?

Upvotes: 5

Views: 5627

Answers (1)

vmg
vmg

Reputation: 10576

Enter image description here

Assuming you work in Visual Studio: Go to project properties (menu Debug → <name of your project>). Go to the first section, "Application", and there will be a field, "Assembly name". Change it to whatever you want.

Upvotes: 8

Related Questions