DNN Forums

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

Dnn Build

Sort:
You are not authorized to post a reply.





New Around Here





    I make a branch from release 9.3.2 (in Visual Studio from GitHub) and when I build in release mode I get more error from packager from these project (Dnn.AuthServices.Jwt, DotNetNuke.Authentication.Facebook, DotNetNuke.Authentication.Google, DotNetNuke.Authentication.LiveConnect, DotNetNuke.Authentication.Twitter,  DotNetNuke.Modules.CoreMessaging, DotNetNuke.Modules.DDRMenu, .......). The errors are always the same:

    Errore  errore imprevisto dell'attività "ExtensionPackager".
    System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
       in DotNetNuke.MSBuild.Tasks.ExtensionPackager.b__0(XElement package)
       in System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       in DotNetNuke.MSBuild.Tasks.ExtensionPackager.Execute()
       in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       in Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() Dnn.AuthServices.Jwt   
     

    I tried with Visual Studio 2015 and 2017, but I had same errors. Do you have any idea?

    Thanks

     

     






    Veteran Member





      Apparently there are some other (somewhat poorly or not at all documented) things that you need to do to build DNN.

      Usually you do not need to rebuild DNN. Do you have a use case that requires it? If not, perhaps some details as to why you did this can help us understand that you really are trying to do.
      Joe Craig
      DNN MVP
      Patapsco Research Group





      New Around Here





        I have install packages with

        PM> .\build.ps1

        and now compile in release mode (without fake error... probabily due msbuilb not found files in directories WebSite/Install/Module).

        The previous release 9.0.0.0 build in release mode without that command.






        Growing Member





          The build process has changed in the recent releases, using the build powershell script with a target of "buildall" is the best. There is new documentation out about this as well that might help a bit: https://github.com/dnnsof...ent/.github/BUILD.md
          Mitchel Sellers
          Technology Advisory Group Leader
          CEO @ IowaComputerGurus, Inc. a DNN & .NET Solutions Provider
          Technical Blog: MitchelSellers.com





          Veteran Member





            Posted By Joe Craig on 25 Aug 2019 03:44 PM
            Usually you do not need to rebuild DNN. Do you have a use case that requires it? If not, perhaps some details as to why you did this can help us understand that you really are trying to do.

            I think it's worth reiterating what Joe said.  Building the DNN source code is really only necessary if you're either (1) going to work on and submit a pull request to GitHub to resolve an issue, or (2) you're forking the DNN code for some reason. 

            The latter almost always can instead be resolved using an extension point, API endpoint, or a pull request instead.  Core code changes should be avoided at all costs.  :)

            Good luck and happy DNN-ing!  :)

             

            You are not authorized to post a reply.

            These Forums are dedicated to the 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. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
            2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
            3. 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.
            4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
            5. No Flaming or Trolling.
            6. No Profanity, Racism, or Prejudice.
            7. Site Moderators have the final word on approving / removing a thread or post or comment.
            8. 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