472,143 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

Renaming VB.Net Solution and Project filenames...

I have a small VB.Net Solution. The solution has filename LABELMAKER.SLN and
the the project has filename LABELMAKER.VBPROJ. There is another file
LABELMAKER.VBPROJ.USER. All these are in a directory called LABELMAKER.

Everything is working fine. I just wanted to rename the directory and
filenames. So I changed the directory name as "EASYLABEL" and also changed
the filenames as EASYLABEL.SLN, EASYLABEL.VBPROJ and EASYLABEL.USER.

So when I did this and tried to open the Solution it didn't open it and
showed the follwoing error/warning message:
"Unable to read the project file 'LABELMAKER.VBPROJ'. The system can't find
the file specified"

It's obvious that it's still expecting the old filename even though I have
chagned it with a new name. So to open the solution I had to re-change the
name with the old one.

So..what's the way to rename the solution and project filenames....

Thanks in advance!
Nov 20 '05 #1
6 18436
Cor
Hi Don Sender,

Probably you did the changes outside your Visual Studio IDE, the most you
have to do inside the "solution explorer", because otherwise you get this
kind of trouble.

The only thing you can do outside the IDE is as far as I know rename the
directory and even then all settings are lost.

I hope this helps a little bit?
Cor

Nov 20 '05 #2
You are right. I did it in Windows Explorer (outside VS IDE). Now I did it
using Solution Explorer. It worked fine.

Thanks. You remember "Sender".

"Cor" <no*@non.com> wrote in message
news:3f***********************@reader22.wxs.nl...
Hi Don Sender,

Probably you did the changes outside your Visual Studio IDE, the most you
have to do inside the "solution explorer", because otherwise you get this
kind of trouble.

The only thing you can do outside the IDE is as far as I know rename the
directory and even then all settings are lost.

I hope this helps a little bit?
Cor

Nov 20 '05 #3
Ciao Don Senda,

You have become unforgettable. ;-))

Regards,
Fergus
Nov 20 '05 #4
As Cor stated, you need to do this inside of VS.NET.

From the Solution Explorer select your Project. Right Click, Select Rename.
You can also select the Solution, Right CLick & select rename. Alternative
after selecting the solution or project in Solution Explorer you can use the
Properties window to rename the solution or project.

In either case remember to preserve the extension!

Before or after you rename them, you can use Windows explorer to rename the
folder. Note if you project is in a different folder then the solution, you
will need to remove the project from the solution then read the project from
the renamed folder.

Hope this helps
Jay

"I_AM_DON_AND_YOU?" <us**@domain.com> wrote in message
news:OM**************@tk2msftngp13.phx.gbl...
I have a small VB.Net Solution. The solution has filename LABELMAKER.SLN and the the project has filename LABELMAKER.VBPROJ. There is another file
LABELMAKER.VBPROJ.USER. All these are in a directory called LABELMAKER.

Everything is working fine. I just wanted to rename the directory and
filenames. So I changed the directory name as "EASYLABEL" and also changed
the filenames as EASYLABEL.SLN, EASYLABEL.VBPROJ and EASYLABEL.USER.

So when I did this and tried to open the Solution it didn't open it and
showed the follwoing error/warning message:
"Unable to read the project file 'LABELMAKER.VBPROJ'. The system can't find the file specified"

It's obvious that it's still expecting the old filename even though I have
chagned it with a new name. So to open the solution I had to re-change the
name with the old one.

So..what's the way to rename the solution and project filenames....

Thanks in advance!

Nov 20 '05 #5
What is "Ciao"? Is this a spanish word ?

"Fergus Cooney" <fi******@tesco.net> wrote in message
news:ub*************@TK2MSFTNGP11.phx.gbl...
Ciao Don Senda,

You have become unforgettable. ;-))

Regards,
Fergus

Nov 20 '05 #6
Hi Don,

No, I'm thinking more along the lines of The Godfather. ;-)

It's Italian for greetz and/or lader, dude.

Ciao,
Fergus
Nov 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Don Leverton | last post: by
6 posts views Thread by Pegboy | last post: by
1 post views Thread by Chris | last post: by
1 post views Thread by Jason B | last post: by
1 post views Thread by boops boops | last post: by
5 posts views Thread by Robizzle | last post: by
3 posts views Thread by Rob | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.