Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get VS2008 to create a different *.DLL name after you have already created the project?

To create a project in VS2008 you have to assign the compiled output a name right when you create the project. If you are creating a class library this output is <output name>.DLL. I can change every other name in the project through the VS2008 interface. If I later regret the output's name I cannot find a way to change the project's output *.exe or *.dll name.

How does one change the name of the output of a VS2008 project when the project has been created and that output name has been already defined?

like image 869
rfreytag Avatar asked Jun 17 '09 13:06

rfreytag


2 Answers

Change the assembly name in the project properties.

In Solution Explorer, find the project you're interested in and double click on "Properties" (just under the project name). That will bring up the properties page for the project in the main editor view.

In the "Application" tab there's an "Assembly name" option - this is what decides the output filename.

like image 155
Jon Skeet Avatar answered Sep 23 '22 00:09

Jon Skeet


For C++ I found this option under Linker->General->Output File

like image 32
rsaris Avatar answered Sep 27 '22 00:09

rsaris