How to change the output name of an executable?

How to change the output name of an executable?

If like me you wanted to change the output file name without changing the assembly name, put this like in your .csproj’s main :

How to change the output file in Visual Studio?

In the configuration drop-down at the top, choose the configuration whose output file location you want to change ( Debug, Release, or All Configurations ). Find the output path entry on the page—it differs depending on your project type:

Where to change name of output DLL in vs 2019?

In a C++ dll project using VS 2019 the option can be found in Project > Properties > Linker > General > Output File. Found answer in this question. I had a similar issue when I refactored a project and my DB project reference kept reverting back to the original naming scheme and outputting the reference in my bin folder.

How to change Assembly name in Visual Studio?

Open the Project Properties in Visual Studio (right click on project in Solution Explorer and select “Properties” from popup menu) On the “Application” tab of the properties window, change the “Assembly name”.

Why is my name not the same as my builtin name in Excel?

When attempting to open these documents, Excel comes up with a popup stating “Name cannot be the same as a builtin name” error message, and gives the option to change the name to something different. After playing around a little, turns out it’s not one, but multiple names that cause the issue, and they are defined areas within excel.

How to change the name of an executable built by Visual Studio?

Change ApplicationName is not best way. For example if you used wpf resources, full path contains ApplicationName and after renaming executable file you need to change all full pathes in out application In this situation I used msbuild. “Post-build event command line” in Build Events tab, would be an option.