Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 650
Bryuk Avatar asked Jan 16 '14 18:01

Bryuk


People also ask

Can you rename EXE files?

Yes you an rename the applications main executable after installation but it might yield a variety of problems. Such as : Any service associated with the application that require's to run the application will fail. Any shortcut linked to the executable wont work.

How do I release windows form app?

Click the sign in option and select the checkbox (Sign the Click Once manifests). Go to Security >> select Check Box (Enable Click Once Security Settings). Go to Publish >> select Publishing folder location path and Save. Click "Publish Now" button.

How do I change my Csproj name?

Right-click on the project name & click reload the project. Then rename the project name as highlighted below & save. It will automatically rename the . csproj file.


1 Answers

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.

like image 145
vmg Avatar answered Sep 28 '22 04:09

vmg