How to map a virtual directory to a website in VS?

Posted by salvationishere on Stack Overflow See other posts from Stack Overflow or by salvationishere
Published on 2010-05-22T19:49:26Z Indexed on 2010/05/22 20:00 UTC
Read the original article Hit count: 163

I am developing a C# VS 2008 website, trying to add a Master file. I created a virtual directory in IIS housing the "Master" folder, containing the Master files.

Now how do I reference these files from my website in VS? One problem is I do not know where I need to publish this Master folder to. Other problem is I do not know how to reference this Master file in my aspx Page directive.

FYI, this master folder is physically located outside of c:\inetpub\ in a totally separate file location. Is this a problem?

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio-2008