How can I change the "App_Themes" directory in ASP.Net?
I'm upgrading a .Net application from .net 1.1 to 3.5. All the开发者_运维技巧 themes are stored in a folder called Themes
, the new .Net 3.5 framework wants this information in a folder called App_Themes
. It will be a major refactoring for me to move everything to a App_Themes
folder.
So I want to ask if there is a way to tell .Net what folder to use when looking for themes? How can I change the default directory from App_Themes
to Themes
?
My memory is a bit foggy, but I don't seem to recall .NET 1.1 having the theming support which got built into 2.0 in the "App_Themes" folder. So I think you can just leave things in your themes folder and keep using whatever existing home-rolled theme plumbing you've got and transition to using the native 2.0+ theming if you want/need to.
精彩评论