I downloaded the source code of a dnn module. How can I add the dnn development environment and edit it?

Source: Internet
Author: User
Tags dnn dotnetnuke
Download Source codePackage

First, you need to get the module sourceCodeFor dnn modules, a source code package is provided. For unofficial modules, if they are open-source, a source code package is also provided.

For example, the announcement module:

 

For the differences between the code package, see this: what is the difference between the dnn install package, the dnn source package and the dnn starterkit package?

Install the source package:

There is no difference between installing the source code package and installing other modules. you can install the package normally. However, note that the official source code package will automatically install all required source files, however, if it is a third-party source code package, sometimes it is impossible to install all the files. In this case, you extract the source code package and directly overwrite the directory under topmodules.

The source code package of the announcement module is installed as follows:

Add to your dnn Development Environment

Right-click your dnn solution and choose add-> existing project.

 

Browse to the announcement directory and add dotnetnuke. Announcements. vbproj

Then, the announcement project will be added,

Then, add the sqldataprovider module under the directory of providers \ dataproviders \ sqldataprovider in the same way,

Compile

After the project is added, right-click the dotnetnuke. Announcements project and select "rebuild". Soon, the compilation is successful:

How to handle compilation errors

The modules you download from the dnn official website can be compiled. If a compilation error occurs, the general problem is that your dnn version may be a little low, as a result, the referenced version of the module to dotnetnuke is incorrect. You can create a reference again.

For unofficial modules, you can try to eliminate debugging errors. If you find that this is not just a simple problem, we suggest you consult the author to see if a new version is available.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.