I read a documentation
Creating a Custom Theme Assembly
Applying a Theme from a Custom Theme Assembly
and example
http://www.devexpress.com/Support/Center/e/E1818.aspx
http://www.devexpress.com/Support/Center/e/E1742.aspx
http://www.devexpress.com/Support/Center/e/E1764.aspx
and come to conclusion that there must be a better and faster solution.
I only need to change a few line of css and few image let say less then 10% of the css and less then 10% of image so around or more then 90% are unchanged. I use 10 themes (Aqua,BlackGlass,Glass,Office2003Blue,Office2003Olive,Office2003Silver,PlasticBlue,RedWine,SoftOrange,Youthful) and most of your asp net suite (ASPxperience Suite, ASPxEditorssuite, ASPxHtmlEditor, Suite,ASPxGridView, ASPxTreeList,XtraReports). In my opinon now there is too much work to make the change i need and i think a lot of other developer can benefit of it.
If i understand now i must do this:
1 Use ASPxThemeDeployer tool to extract resource from ASPxThemes dll
2 Modify the extracted resources
3 Cretate resource assembly like MyThemeAssembly
4 For each themr(10) and for each suite(5) add add the webresource attribute to the AssemblyInfo.vb
5 Create Class1.vb and register MyThemeAssembly
6 add reference to bin folder to MyThemeAssembly.dll
7 Register assembly in global.asax Application_Start
8 For each themr(10) and for each suite(5) modify the skin file in App_Themes folder
9 Disable ASPxThemes dll in web config
We will have a benefit of HTTP Handler for Resources(DXEnableResourceCompression, DXEnableResourceMerging) with MyThemeAssembly.dll? Please tell me if there is a better and faster way to do what i need?
Proposed Solution:
1 Use ASPxThemeDeployer tool to extract resource from ASPxThemes dll
2 Modify the extracted resources
3 Generate custom ASPxThemes dll from App_Themes folder with ASPxThemeBuilder
With generate custom ASPxThemes dll i mean a tool that will work contrary of ASPxThemeDeployer so will take modified resource from App_Themes folder and build ASPxThemes dll in this way all other 6 step are not required.
As developer we have always the need to be productive to do more in less time and to spend less resources so i hope you will seriously consider to meke a tool like this let say ASPxThemeBuilder that can facilitate the work of us developer.
Thank you
Johny