dotnetnuke-module2sxc

Build source code of 2sxc module for dnn


Can somebody give me some basic directions how to build source version of 2sxc module for dnn?

What is the folder structure for all dependent projects and versions and required binary?


Solution

  • Here are the instructions - please test and report back if something needs changing:

    Edited New full instructions can be found in the wiki: https://github.com/2sic/2sxc/wiki/contribute-setup

    Pre-Requisites

    1. Visual Studio 2015
    2. MSBuild Community Tasks 1.4 or newer (required for automatic module packaging if you want to create dnn-module packages of 2sxc to distribute to another dnn) https://github.com/loresoft/msbuildtasks or chec https://www.microsoft.com/en-in/download/details.aspx?id=19372
    3. We also use grunt, gulp and bower so if you want to do some JS you'll also need to install NPM, Gulp and Bower (grunt will auto-install as a dependency)

    Recommended

    1. SQL Server 2014, but it also works on older versions like 2008

    A note about folders

    The current setup places the EAV project and the 2sxc-project in exactly defined folders. This helps that when we build the EAV or make changes to it, that it will auto-copy everything in the build-process to the 2sxc bin and dist. So this isn't required, but if you want to do some serious stuff it will save you time to copy/deploy the dependencies over and over.

    Installing DNN Please install a DNN - ideally a 7.2 version or similar so you wont use APIs which don't exist in that version in the path above. Steps are approx. like this:

    Installing Source Code and Linking it to Github

    That should do it - would love to hear your feedback :)