Search

CSS files in folders nested under App_Themes are not picked up at design time in VS 2008 RTM by xgene

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 312146
Opened: 11/24/2007 10:57:03 PM
Access Restriction: Public
1
Workaround(s)
0
User(s) can reproduce this bug
If a CSS file is nested inside a theme folder in the App_Themes folder, the css styles are not picked up in the designer although they display properly at runtime.

CSS Styles using the following folder structure are not displayed at design time:
App_Themes\Theme1\CSS\Stylesheet1.css

But if you remove one level of nesting they do display at design time:
App_Themes\Theme1\Stylesheet1.css
Details (expand)
Product Language
English

Version

Other
Operating System
Windows Vista
Operating System Language
English
Steps to Reproduce
Create the following folder \ file structure in a web project.

App_Themes\Theme1\CSS\Stylesheet1.css

Add any styles to the .css file.

Apply StylesheetTheme="Theme1" in the Default.aspx page. Use the styles from the stylesheet in the aspx page.
Actual Results
No styles are displayed in the CSS window when editing the aspx page. No styles are displayed when viewing the aspx page in design mode.
Expected Results
Styles from the stylesheet should be displayed in the CSS window when editing the aspx page. Styles should be displayed when viewing the aspx page in design mode.
TAP Code (if applicable)
 
      You can indicate your satisfaction with how Microsoft handled this issue by completing this quick 3 question survey. [Details]

 

Sign in to post a comment.
Posted by Microsoft on 11/25/2007 at 7:46 PM
Thanks for your feedback. We are escalating this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Thank you,
Visual Studio Product Team
Sign in to post a workaround.
Posted by xgene on 11/24/2007 at 10:58 PM
Place stylesheets just below the "Theme" folder in the App_Theme directory.