Posted on: 5/3/2011 11:24:17 AM | Views : 244

I have a css file that needs to be shared across multiple web applications.
But here is the trick.  The file is stored outside of the web app sln files.
so each vbp references this file in the master page like this:
<link href="/includes/File.css" rel="stylesheet" type="text/css" />
In IIS, the "shared" css file lives under the default webroot and the web apps live as virtuals under the default.  This means that the css file lives in a folder other than were the web apps are stored.
As a result, the web apps' IDE (in Visual Studio 2010) keep getting this error:
Unable to edit 'http://localhost/includes/File.css'. The style sheet must be part of the current project and the project must be a Web Site or Web Application project.
(we are using the web application model)
So here is my question.  the only fix I know that will work is to include the css file in every web app project.  Since every web application use ...

Go to the complete details ...