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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0In the .dnn file  is the <dependencies> tag the same thing as a dll reference?In the .dnn file is the tag the same thing as a dll reference?
Previous
 
Next
New Post
2/21/2008 12:29 PM
 

Hello all:

I'm moving things to DNN 4 (finally), and am unsure what the explicit purpose of the <dependencies> tag.  Is it there to reference dlls that are possibly not in the website/bin folder?  Does it refer to the namespace of a dll that must be in the website/bin folder? 

Could someone in the know elucidate w/an example of how the <dependencies> tag works?

Thanks!

 
New Post
2/21/2008 6:35 PM
 

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/25/2008 9:06 AM
 

Thanks Cathal!  That answered my question nicely.  Well written by M Washington, as usual. ;-)

 
New Post
3/3/2008 9:37 AM
 

There's still one thing about this 'dependency' feature that needs clarity.  I have 3 or so dependent dlls in my dependency list.  They are separated, as specified, by semi-colons.

However, I do not include them in the list of files below in the .dnn file.  I mean, the point of the dependencies, I thought, was to ensure that the dlls exist in the website\bin folder, correct?  Are the dependencies looking for dll file names or namespace names?  The link infers either dlls or namespaces. 

Cathal?  Could you clarify?  Here is my sample dnn file.  Pray tell me what is wrong...

(ps.  Is there a way to remove moderation from my posts?  It would greatly speed up both my answers and my questions...thanks in advance...)

<dotnetnuke version="3.0" type="Module">
  <folders>
    <folder>
      <name>TestModule</name>
      <friendlyname>TestModule</friendlyname>
      <foldername>TestModule</foldername>
      <modulename>TestModule</modulename>
      <description>A TestModule module</description>
      <dependencies>LCS.Common;LCS.Gradebook.BusinessObjects;LCS.Gradebook.DataProviders;LCS.Gradebook.SqlDataProvider</dependencies>
      <version>01.00.93</version>
      <businesscontrollerclass>LCS.Gradebook.DNN.TestModule.TestModuleController</businesscontrollerclass>
      <modules>
        <module>
          <friendlyname>TestModule</friendlyname>
          <cachetime>0</cachetime>
          <controls>
            <control>
              <src>DesktopModules/TestModule/TestModuleView.ascx</src>
              <type>View</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>Edit</key>
              <title>Edit Content</title>
              <src>DesktopModules/TestModule/TestModuleEdit.ascx</src>
              <type>Edit</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>Settings</key>
              <title>TestModule Settings</title>
              <src>DesktopModules/TestModule/TestModuleSettings.ascx</src>
              <type>Edit</type>
              <helpurl></helpurl>
            </control>
          </controls>
        </module>
      </modules>
      <files>
        <file>
             <name>LCS.TestModule.dll</name>
          </file>
        <file>
          <name>TestModuleView.ascx</name>
        </file>
        <file>
          <name>TestModuleEdit.ascx</name>
        </file>
        <file>
          <name>TestModuleSettings.ascx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>TestModuleView.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>TestModuleEdit.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>TestModuleSettings.ascx.resx</name>
        </file>
        <file>
          <name>module.css</name>
        </file>
      </files>
    </folder>
  </folders>
</dotnetnuke>

The error I receive is:

Warning Install aborted - The module being installed requires additional components which are not available in your environment.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0In the .dnn file  is the <dependencies> tag the same thing as a dll reference?In the .dnn file is the tag the same thing as a dll reference?


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