How to change Display name of Primary output file

G

Guest

I have just about finished my project and need to change the name of the
..exe file created by the Windows Installer to the real name.
I was developing naming the solution and project MyProject, from which
Vb.net builds MyProject.msi and Setup.exe installs as MyProject.exe
I need to change this so that the installed file on the target machine is
RealName.exe

Under the "File System" tab I see

File System on Target Machine:
+Application Folder
Primary output from MyProject(Release.NET)

In the Properties Tab for this item it shows Key Output > Display Name and
Target Name both as MyProject.exe
Both these properties are greyed out and cannot be changed in the properties
window.

Where does Vb.net get the name for the final output .exe file, and how do I
change this name.
(I have tried changing the name of the solution and project , and the name
of the output file (.msi)

thanx........joisey
 
H

Herfried K. Wagner [MVP]

Where does Vb.net get the name for the final output .exe file, and how do
I change this name.

Select the project in the solution explorer, choose "Properties" from its
context menu -> "General properties" -> "General" -> "Assembly name:". The
name of the output file will consist of the assembly name with ".exe"
appended.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top