Hi folks
Just to clarify, can no one tell me how to package a module for 5.0?
To recap my two earlier posts Changes to module zip file for 5.0? and Bug in V5 Extension Package Creation Wizard, I have been going around in ever decreasing circles trying to find a way to package my modules so they upload in 5.0. In response to the first thread, Charles Nurse kindly directed me to here, here and here.
(Is there any better documentation I should be aware of?)
But I still got these errors: File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\app_localresources\EditViewGroup.ascx.resx.
So I tried a roundabout route, installing my modules in 4.9.0, then upgrading to 5.0.0 then trying to generate the module package from that. But I got the message:
|
A critical error has occurred.
Version string portion was too short or too long. |
So I tried again, from a clean 5,0 install, adding a Compiled Module (to get away from any coding errors of mine) and trying to generate the manifest and/or package from that. And got the same bug. So I tried to modify the version numbers of the mainfest generated automatically, and still got the same problem. And it was registered as a bug.
Surely this cannot mean that no one can package modules for 5.0 at this time?
So please, please can someone take a look at the following manifest and tell me what is wrong with it. I am bundling the right files with it... but it isn't even getting as far as not finding them to upload (my original problem).
<dotnetnuke type="Package" version="05.00.00">
<packages>
<package name="ModuleTest" type="Module" version="05.00.00">
<friendlyName>ModuleTest</friendlyName>
<description>A ModuleTest module</description>
<owner>
<name>test</name>
<organization>test</organization>
<url>www.test.com</url>
<email>geoff@test.com</email>
</owner>
<license>This package has no license</license>
<releaseNotes />
<components>
<component type="Script">
<scripts>
<basePath>DesktopModules\ModuleTest</basePath>
<script type="Install">
<name>01.00.00.SqlDataProvider</name>
<version>01.00.00</version>
</script>
<script type="Install">
<name>ModuleTest.SqlDataProvider</name>
<version>ModuleTest</version>
</script>
<script type="UnInstall">
<name>Uninstall.SqlDataProvider</name>
<version>00.00.00</version>
</script>
</scripts>
</component>
<component type="Module">
<desktopModule>
<moduleName>ModuleTest</moduleName>
<foldername>ModuleTest</foldername>
<businessControllerClass>YourCompany.Modules.ModuleTest.ModuleTestController</businessControllerClass>
<supportedFeatures>
<supportedFeature type="Portable" />
<supportedFeature type="Searchable" />
</supportedFeatures>
<moduleDefinitions>
<moduleDefinition>
<friendlyName>ModuleTest</friendlyName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey />
<controlSrc>DesktopModules/ModuleTest/ViewModuleTest.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle />
<controlType>View</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
<moduleControl>
<controlKey>Edit</controlKey>
<controlSrc>DesktopModules/ModuleTest/EditModuleTest.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>Edit Content</controlTitle>
<controlType>Edit</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
<moduleControl>
<controlKey>Settings</controlKey>
<controlSrc>DesktopModules/ModuleTest/Settings.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>ModuleTest Settings</controlTitle>
<controlType>Edit</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
</moduleControls>
</moduleDefinition>
</moduleDefinitions>
</desktopModule>
<eventMessage>
<processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType>
<processorCommand>UpgradeModule</processorCommand>
<attributes>
<businessControllerClass>YourCompany.Modules.ModuleTest.ModuleTestController</businessControllerClass>
<desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
<upgradeVersionsList>01.00.00</upgradeVersionsList>
</attributes>
</eventMessage>
</component>
<component type="Assembly">
<assemblies>
<basePath>bin</basePath>
<assembly>
<name>ModuleTest.dll</name>
</assembly>
</assemblies>
</component>
<component type="File">
<files>
<basePath>DesktopModules\ModuleTest</basePath>
<file>
<path>app_localresources</path>
<name>EditModuleTest.ascx.resx</name>
</file>
<file>
<path>app_localresources</path>
<name>Settings.ascx.resx</name>
</file>
<file>
<path>app_localresources</path>
<name>ViewModuleTest.ascx.resx</name>
</file>
<file>
<name>ModuleTest.dnn</name>
</file>
<file>
<path>documentation</path>
<name>Documentation.css</name>
</file>
<file>
<path>documentation</path>
<name>Documentation.html</name>
</file>
<file>
<path>documentation</path>
<name>logo.gif</name>
</file>
<file>
<name>EditModuleTest.ascx</name>
</file>
<file>
<name>Settings.ascx</name>
</file>
<file>
<name>ViewModuleTest.ascx</name>
</file>
</files>
</component>
</components>
</package>
</packages>
</dotnetnuke>
Many thanks in advance.
Geoffrey