Notes about DNN module independent compilation and debugging in DNN

Source: Internet
Author: User
Tags dnn

 

Please refer to the Chat History of the problem. Thanks for the help of the three digits. The Q number and name have been fixed.
(11:31:49) me

Can you help me? I downloaded the crossarticle with the source code. It seems that you have made the icon. I first installed crossarticle on dnn4.8.4 and found that the maximum width setting of the thumbnail is invalid, when the image is not displayed in the body, an error occurs when you click the title.

I want to change it, but after the source code is stamped with topmodules \ crossarticle, It is appended to the process and the input path is converted into dnn \ bin. There is no response. After the dll under dnn \ bin is deleted, it is not generated.

 

I want to know how to deploy the source code to dnn, and my changes take effect. I have read this kind of information on the Internet, but it is still unsuccessful. Thank you. If it is convenient, you can use QQ's Remote Assistance to check your operations or how to deploy them.

(11:33:40) me

Previously, all simple modules I wrote were generated using the startkit of dnn, and no other methods have been used as modules.

(2008-08-27 12:51:05) dnnsun

Going out for dinner

(2008-08-27 12:51:15) dnnsun

Do you still need help?

(12:52:53) me

I will pass the file to you,

(12:53:37) me

I installed this directly first.

(12:54:05) me

Decompress and overwrite the source code.

(12:54:19) me

Alas, I didn't expect this to happen. Thank you.

(12:54:43) me

There is also a source code

(2008-08-27 12:54:46) dnnsun

But I'm afraid I don't have time to help you.

(12:54:48) me

Not connected

(2008-08-27 12:55:16) dnnsun

Maybe the version is incorrect.

(12:55:16) me

You only need to compile in vs. Later, I will test and find problems myself.

(2008-08-27 12:55:27) dnnsun

Mine is 2008

(12:55:39) me

Because I cannot compile it in vs at all, even if I don't change anything.

(12:55:49) me

I also have 2008

(12:56:19) me

I only generate modules using startkit, but I have never used modules using other methods.

(2008-08-27 13:02:26) dnnsun

Not done

(13:05:27) me

Nor can it be compiled in?

(2008-08-27 13:05:44) dnnsun

It can be a compilation error.

(13:05:50) me

Thank you. I will try again.

(2008-08-27 13:05:53) dnnsun

You just want to find the error.

(2008-08-27 13:06:03) dnnsun

Just for the reason.

(13:06:48) me

It is microsoft. applicaptionblocks. data, and the three errors that cannot be converted to string by string [], right?

(2008-08-27 13:06:59) dnnsun

Yes

(13:07:03) me

That's just like me.

(2008-08-27 13:07:17) dnnsun

You can take a closer look.

(13:07:19) me

I have solved the problem, but how can I connect to DNN for debugging?

(13:07:41) me

I used the append to the process and did not respond.

(2008-08-27 13:07:45) dnnsun

You can set it.

(2008-08-27 13:07:57) dnnsun

Modify the compilation directory

(2008-08-27 13:07:59) dnnsun

Bin

(13:13:00) me

Let me write down my operation steps. Please check whether the operation is correct.

First install crossarticle to DNN and add it on the page.

Decompress the source code to dnn \ javastopmodule \ crossarticle to overwrite the previously installed code.

Double-click the sln file of crossarticle, open vs2005, and add dnn \ bin \ micorosft. applicationblocks. data. dll reference.

 

Set the project output to dnn \ bin.

 

Select debug> attach to process

 

(2008-08-27 13:14:06) dnnsun

The key is to see if it is a web application project.

(2008-08-27 13:14:11) dnnsun

Project Type

(13:15:09) me

How can I check this? When I press f5 directly, vs prompts that this is of class type.

(13:15:29) me

Web application vs 2005 plug-in, I did not install

(2008-08-27 13:15:32) dnnsun

That's not the case, right?

(2008-08-27 13:15:41) dnnsun

No way

(2008-08-27 13:15:51) dnnsun

Use vs 2008

(13:16:09) me

I was right in the previous steps. I just lacked the web application plug-in, right?

 

(13:16:19) me

No more plug-ins need to be added in vs2008.

(2008-08-27 13:16:27) dnnsun

Yes

(13:16:51) me

?

(13:17:00) me

Thank you very much.

(17:52:48) me

Thank you for your help. I have done it. The reason is that several dnn-related DLL files in my source code package are earlier than 4.8. during compilation, the new DLL files under DNN4.8.4 \ BIN are automatically overwritten, resulting in many strange errors.

Thank you again for your help.

Related Articles (14:34:47)
Http://www.cnblogs.com/m2land/archive/2008/08/18/1269880.html this article should be explained in more detail.

 

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.