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.
aling - 20 Oct 2007 02:54 GMT
anyone can help me?
> 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
[quoted text clipped - 5 lines]
> solution file to use relative path?
> Thanks.
Jonny - 23 Oct 2007 20:41 GMT
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 .
> 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
[quoted text clipped - 5 lines]
> solution file to use relative path?
> Thanks.