It sounds like a "bundle-problem", meaning that you might have css bundling when doing a release-build but not a debug-build. In the deployed enviroment, can you see if there are minified versions of the css?
Henrik thanks for the reply. No, CSS-s aren't minified. As I wrote before, at one point I copied everything from my machine at one point, the Debug build, still didn't show.
Ok, strange then. If you do a viewsource in development and in production, are there any differens in the resulting file, looking at the include style-part?
It is definitely IIS version. I have deployed the code to IIS 8.0 and it works. This part of configuration in modules.config doesn't work in IIS 7
<?xml version="1.0" encoding="utf-8"?>
<module>
<assemblies>
<!-- This adds the template assembly to the "default module" -->
<add assembly="Kampanje" />
</assemblies>
<clientResources>
<add name="epi-cms.widgets.base" path="Styles/Styles.css" resourceType="Style"/>
</clientResources>
<dojo>
<!-- Add a mapping from alloy to ~/ClientResources/Scripts to the dojo loader configuration -->
<paths>
<add name="Kampanje" path="Scripts" />
</paths>
</dojo>
</module>
Should work in IIS 7, but it sounds like the module.config isn't loaded.
You can verify if the module is picked up by the initialization by looking for the "App" module in:
<ui path>/Shell/Debug/ShellModules
You'll be prompted to add an appSettings key, which you should make sure to remove again on production sites.
Hi
I have specific behaviour bugging me. I have implemented custom tree icons and block size choosing icons using UIDescriptors. They work perfectly on developer machines on multiple computers in both IIS Express and IIS 8.5.
When deployed to any of 2 servers both running IIS 7.5, it doesn't load. Icons are just not displayed, empty space. When checked in console there are no errors, and the treeIcons.css doesn't load as a resource. Like it is not called at all. I have tried to copy all files I have on my machine, modules, everything. Still doesn't load.
Did anybody have similar problem?!