Closed poul-erik closed 3 years ago
I also had problems with thumbnails for the containers. To solve this I had to also add the corresponding jpg file as a container file to the dnn file.
I'm pretty sure that this is not the correct solution. When I look at the skin part. The packaging manage to include both the ascx, the corresponding css file as well as the corresponding jpg file.
When it comes to the container I have to manually handle these and I also noticed that the Container.css file is not included. For the skin package the Skin.css is included without any manual intervention.
Regards
Poul Erik Sørensen
Adding to the .DNN file is necessary due to the way the templates package the containers and skins together. Without the definition in the manifest, DNN doesn't know to treat those files as Containers instead of skins.
I have created a container with a specific css. I have include the css in the dnn file:
But when I attempt to install, I get an error. Seams the installer cannot find the css in the package (apparently it should be in the root?)
I modified the SkinPackage.targets build script:
I don't know if that is a correct solution, but it fixed the installation problem.
Regards
Poul Erik Sørensen