By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,533 Members | 1,497 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,533 IT Pros & Developers. It's quick & easy.

Renaming VB.Net Solution and Project filenames...

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
Ciao Don Senda,

You have become unforgettable. ;-))

Regards,
Fergus
Nov 20 '05 #4

P: n/a
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

P: n/a
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

P: n/a
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.