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?
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With