• Login
  • Register

DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

.NET framework used between website and custom extension

You are not authorized to post a reply.
Sort:


New Member


Posts:2
New Member

    I hope someone can clarify this for me.

    I'm running an ASP.NET website in IIS (DotNetNuke to be exact). I also have a module that is installed on the site that was custom built.

    My IIS web.config specifies a "targetFramework" of "4.5" (under the system.web/httpRuntime element). My custom module was built with a target framework of "4.7.2".

    When the custom module is loaded by the website, is it now running under the .NET 4.5 framework because that's what the website's web.config was targetting?



    Veteran Member


    Posts:791
    Veteran Member

      I think that means you are using an older version of DNN.
      AFAIK DNN 9.8 requires 4.7.2
      But anyway as long as that version of .NET is installed your module should work and DNN will run on the newer version too.
      (Side note, upgrade your DNN version for security reasons:-)



      New Member


      Posts:2
      New Member

        Let's say I did upgrade to DNN 9.8 and its web.config is stating that the target runtime should be 4.7.2. Does that mean a DNN module/extension I built that targets the 4.8 runtime would only be running with a max runtime of 4.7.2 because DNN/IIS loaded it with a framework of 4.7.2?


        Veteran Member


        Posts:791
        Veteran Member

          Not if you installed 4.8 on the hosting machine.
          4.7.2 is the minimum version needed

          You are not authorized to post a reply.

          These Forums are dedicated to discussion of DNN Platform.

          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.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved