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

Anyone can tell me how to modify the PhysicalPath attribute in ASP.Net 2 VS2005 Solution file to use relative path?

P: n/a
I create ASP.Net 2 website project in VS 2005, but the solution file
always uses absolute path in PhysicalPath attribute. I want to copy
the website project anywhere, so the absoluted path not wanted. But
when I changed the PhysicalPath attribute in solution file, I can't
open it in VS 2005.

Anyone can tell me how to modify the PhysicalPath attribute in
solution file to use relative path?
Thanks.

Oct 19 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
anyone can help me?

On 10 19 , 8 24 , aling <alings...@gmail.comwrote:
I create ASP.Net 2 website project in VS 2005, but the solution file
always uses absolute path in PhysicalPath attribute. I want to copy
the website project anywhere, so the absoluted path not wanted. But
when I changed the PhysicalPath attribute in solution file, I can't
open it in VS 2005.

Anyone can tell me how to modify the PhysicalPath attribute in
solution file to use relative path?
Thanks.

Oct 20 '07 #2

P: n/a
I'm not sure if I understand your question, but it sounds like your having
trouble with relative paths in .net. I'm sure your going to have to replace
absolute paths with relative paths. A google of "relative pathing in .net"
showed this as the first article:
http://www.west-wind.com/WebLog/posts/269.aspx .
"aling" wrote:
I create ASP.Net 2 website project in VS 2005, but the solution file
always uses absolute path in PhysicalPath attribute. I want to copy
the website project anywhere, so the absoluted path not wanted. But
when I changed the PhysicalPath attribute in solution file, I can't
open it in VS 2005.

Anyone can tell me how to modify the PhysicalPath attribute in
solution file to use relative path?
Thanks.

Oct 23 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.