Hi Chuck,
Thank you for posting and glad to see you again.
From your description, I understand you're using the VS 2005 FileSystem
based project to develop some ASP.NET 2.0 web applications. And you're
using VSS to manage the projects' source. These web applications will use
some shared static resources(like css styles and images in a global
location, a dir under IIS site root when hosting in IIS), however, you
found it hard to make the applications to reference these shared resource
through the VS 2005 Test WebServer, correct? If anything I didn't quite
get, please feel free to post here.
Based on my understanding, this does be an existing limitation of the VS
2005's TestServer (The WebDev.WebServer.EXE ), the testserver generally
only take care of the application's directory and sub directories, it has
no sense of parent virtual or physical dir which makes IIS site root like
setting not available.
For your scenario, except using local IIS to host the application, what I
can get so far is the following workaround:
This approach contains two steps:
1. By default, the VS 2005 TestServer will host our web application as a
sub virtual directory under site root , however, we can manually launch the
testserver and configure it as a root application:
#How to Run a Root ¡°/¡± Site with the VS/VWD 2005 Local Web Server
http://weblogs.asp.net/scottgu/archi...21/431138.aspx
Thus, any site relative path like "/Images/...." can be correctly pointed
to our appliation directory's sub directories.
2. As in #1, we still need to copy any shared resources into the sub
directories in our application's sub directories, then, we need another way
to do the mapping between the global shared resource folder and our
application's sub folders. This is the "Symbolic link" file setting
provided in windows 2000 and above, it provide a low level physical folder
linking, and there is an utility in sysinternals site which can help us
create such symbolic linking between NTFS physical folders:
#Junction
http://www.sysinternals.com/Utilities/Junction.html
You can find more about file system's symbolic linking in MSDN:
http://msdn.microsoft.com/library/en...ks.asp?frame=t
rue
This idea comes from an original thread discussing on provide shared
location to store source files which will be used (for compilation) in
multiple applicaitons.
Hope this helps a little.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)