Home All Groups Group Topic Archive Search About

How to change a VB solution/project name?

Author
9 Jan 2006 3:04 PM
Bill nguyen
I made a copy of an existing VB.NET project to a new folder and would like
to change the solution name to something else to avoid confusion.
What is the best way to do this so that I won't run into referencing
problem?

Thanks

Bill

Author
9 Jan 2006 3:13 PM
Carlos J. Quintero [VB MVP]
Hi Bill,

You have to use the Solution Explorer, select the solution node and
right-click rename. If you have not renamed the project there is no need to
change the default namespace, output assembly and so on.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio 2005, Visual Studio .NET,
VB6, VB5 and VBA
You can code, design and document much faster in VB.NET, C#, C++ or VJ#
Free resources for add-in developers:
http://www.mztools.com

Show quoteHide quote
"Bill nguyen" <billn_nospam_please@jaco.com> escribió en el mensaje
news:%23OigD4SFGHA.3036@tk2msftngp13.phx.gbl...
>I made a copy of an existing VB.NET project to a new folder and would like
>to change the solution name to something else to avoid confusion.
> What is the best way to do this so that I won't run into referencing
> problem?
>
> Thanks
>
> Bill
>
>
Author
10 Jan 2006 1:25 AM
Bill Nguyen
Carlos;

Thanks for the tip. I tried it, and it seemed to work. However, when I build
the executable, it still compiled under the oldname OLDPROJECT.EXE. I want
it to be NEWPROEJCT.EXE instead.

Thanks

Bill

Show quoteHide quote
"Carlos J. Quintero [VB MVP]" <carlosq@NOSPAMsogecable.com> wrote in message
news:erS798SFGHA.532@TK2MSFTNGP15.phx.gbl...
> Hi Bill,
>
> You have to use the Solution Explorer, select the solution node and
> right-click rename. If you have not renamed the project there is no need
> to change the default namespace, output assembly and so on.
>
> --
>
> Best regards,
>
> Carlos J. Quintero
>
> MZ-Tools: Productivity add-ins for Visual Studio 2005, Visual Studio .NET,
> VB6, VB5 and VBA
> You can code, design and document much faster in VB.NET, C#, C++ or VJ#
> Free resources for add-in developers:
> http://www.mztools.com
>
> "Bill nguyen" <billn_nospam_please@jaco.com> escribió en el mensaje
> news:%23OigD4SFGHA.3036@tk2msftngp13.phx.gbl...
>>I made a copy of an existing VB.NET project to a new folder and would like
>>to change the solution name to something else to avoid confusion.
>> What is the best way to do this so that I won't run into referencing
>> problem?
>>
>> Thanks
>>
>> Bill
>>
>>
>
>
Author
10 Jan 2006 10:11 AM
Carlos J. Quintero [VB MVP]
Hi Bill

From your original post I understood that you only moved a project from a
folder to another (without renaming the project) and that you wanted to
rename the solution. Anyway, if you can rename solutions and projects in the
Solution Explorer and I told you. If you want to change the output file
name, right-click the project in the Solution Explorer to open the Property
Pages, select Common Properties, General node and change the "Assembly
name", and surely the "Root namespace" too.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio 2005, Visual Studio .NET,
VB6, VB5 and VBA
You can code, design and document much faster in VB.NET, C#, C++ or VJ#
Free resources for add-in developers:
http://www.mztools.com


Show quoteHide quote
"Bill Nguyen" <billn_nospam_please@jaco.com> escribió en el mensaje
news:e6oVJTYFGHA.3176@TK2MSFTNGP12.phx.gbl...
> Carlos;
>
> Thanks for the tip. I tried it, and it seemed to work. However, when I
> build the executable, it still compiled under the oldname OLDPROJECT.EXE.
> I want it to be NEWPROEJCT.EXE instead.
>
> Thanks
>
> Bill
Author
10 Jan 2006 3:39 PM
Bill nguyen
Carlos;
Thanks for your help.
Bill
Show quoteHide quote
"Carlos J. Quintero [VB MVP]" <carlosq@NOSPAMsogecable.com> wrote in message
news:uhUAB5cFGHA.2708@TK2MSFTNGP11.phx.gbl...
> Hi Bill
>
> From your original post I understood that you only moved a project from a
> folder to another (without renaming the project) and that you wanted to
> rename the solution. Anyway, if you can rename solutions and projects in
> the Solution Explorer and I told you. If you want to change the output
> file name, right-click the project in the Solution Explorer to open the
> Property Pages, select Common Properties, General node and change the
> "Assembly name", and surely the "Root namespace" too.
>
> --
>
> Best regards,
>
> Carlos J. Quintero
>
> MZ-Tools: Productivity add-ins for Visual Studio 2005, Visual Studio .NET,
> VB6, VB5 and VBA
> You can code, design and document much faster in VB.NET, C#, C++ or VJ#
> Free resources for add-in developers:
> http://www.mztools.com
>
>
> "Bill Nguyen" <billn_nospam_please@jaco.com> escribió en el mensaje
> news:e6oVJTYFGHA.3176@TK2MSFTNGP12.phx.gbl...
>> Carlos;
>>
>> Thanks for the tip. I tried it, and it seemed to work. However, when I
>> build the executable, it still compiled under the oldname OLDPROJECT.EXE.
>> I want it to be NEWPROEJCT.EXE instead.
>>
>> Thanks
>>
>> Bill
>
>