Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesHow do you set a DNN5.4.2 Manifest tag to Package a DNN Silverlight Module and install on ClientBin?How do you set a DNN5.4.2 Manifest tag to Package a DNN Silverlight Module and install on ClientBin?
Previous
 
Next
New Post
6/30/2010 7:06 AM
 
Hi All,
I recently Completed a silverlight application (Still on Silverlight 2) that is hosted in DNN 5.4.2.  I tried creating a module package and Modified the dnn5 manifest to the following:

<dotnetnuke type="Package" version="5.0">
  <packages><package name="LMS.Reservations" type="Module" version="0.0.0">
  <friendlyName>LMS Reservations</friendlyName>
  <description>This module manages LMS Reservations</description>
  <owner>
    <name>Mr Alex Masita</name>
    <organization>Data Volts Systems Enterprises</organization>
    <url />
    <email>alexmasita@hotmail.co.uk</email>
  </owner>
  <license />
  <releaseNotes />
  <components>
    <component type="Module">
      <desktopModule>
        <moduleName>LMS.Reservations</moduleName>
        <foldername>LMS.Reservations</foldername>
        <businessControllerClass />
        <supportedFeatures />
        <moduleDefinitions>
          <moduleDefinition>
            <friendlyName>LMS Reservations</friendlyName>
            <defaultCacheTime>0</defaultCacheTime>
            <moduleControls>
              <moduleControl>
                <controlKey />
                <controlSrc>DesktopModules/LMS.Reservations/ViewLMS.Reservations.ascx</controlSrc>
                <supportsPartialRendering>False</supportsPartialRendering>
                <controlTitle>View Reservation Details</controlTitle>
                <controlType>View</controlType>
                <iconFile />
                <helpUrl />
              </moduleControl>
            </moduleControls>
          </moduleDefinition>
        </moduleDefinitions>
      </desktopModule>
    </component>
    <component type="ResourceFile">
      <resourceFiles>
        <basePath>App_Code</basePath>
        <resourceFile>
          <name>App_Code.zip</name>
        </resourceFile>
      </resourceFiles>
    </component>
    <component type="Assembly">
      <assemblies>
        <basePath>bin</basePath>
        <assembly>
          <name>LMS.Reservations.dll</name>
        </assembly>
        <assembly>
          <name>System.Web.Silverlight.dll</name>
        </assembly>
      </assemblies>
    </component>
    <component type="File">
      <files>
        <basePath>DesktopModules\LMS.Reservations</basePath>
            <file>
              <path>App_LocalResources</path>
              <name>EditLMS.Reservations.ascx.resx</name>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>Settings.ascx.resx</name>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>ViewLMS.Reservations.ascx.resx</name>
            </file>
        <file>
          <name>EditLMS.Reservations.ascx</name>
        </file>
        <file>
          <name>ViewLMS.Reservations.ascx</name>
        </file>
        <file>
          <name>ReservationManagement.svc</name>
        </file>       
         <file>
           <path>..\..\ClientBin</path>
          <name>SDASL.Reservations.xap</name>
        </file>
      </files>
    </component>
  </components>
</package>
</packages>
</dotnetnuke>

All the files in this manifest are packaged properly but the Xap file as defined in the highlighted section above is not added in the created package and no errors are thrown!  Oddly, when I remove the <path>..\..\ClientBin</path> tag from the definition, the Xap file now is added to the zip file as expected but that would mean that on installation on the target website, the .Xap file will not be installed in the right folder which should be the ClientBin folder that resides in the root of the website.  Any suggestions anyone?

NB: Please note that I tried playing around with the <path>..\..\ClientBin</path>  tag including reversing the back slash to the forward slash and also removing both back slashes and the dots to just have the ClientBin in the path tag but the Xap file still does not get added to the Zip Package.  It is only when I remove the entire <path>..\..\ClientBin</path> tag from the file definition that the Xap file gets added to the Zip Package.  I await your suggestions?

Many thanks in advance,
Alex
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesHow do you set a DNN5.4.2 Manifest tag to Package a DNN Silverlight Module and install on ClientBin?How do you set a DNN5.4.2 Manifest tag to Package a DNN Silverlight Module and install on ClientBin?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out