| |
Location: Blogs OpenDNN blog Open-SearchEngine |
 |
| Posted by: Xepient Solutions |
1/21/2009 |
O-SE comes in many version to accomodate the different DNN versions. However, it shares the same code-base. It is important to know what version of DNN you are compiling for, and make sure that the right settings are in place.
General Notes:
The source package contains a .sln file that will include all relevant projects.
It was originally compiled using .NET 1.1 but it can be easily converted to a .NET 2.0 solution.
Compilation:
- Some of the projects reference two .dlls that are missing from the package because of their size. The .dlls can be downloaded separately from
http:\\www.opendnn.com\Default.aspx?TabId=95&xscid=7
or
http://www.opendnn.com under the "Resources/downloads" menu, and then selecting the "Support Files" category in the navigation tree.
The downloadable package is called: O-SE.vAll.PDF.zip
- Due to changes in the DNN API, the source code has a conditional variable that will compile one or another set of lines, depending on the version of DNN you want to create the package for.
a) If you are compiling for DNN up to 4.5.x, then you should make sure that the XepientSolutions.XSSearchSpider project properties/Configuration properties/Build does not include any "conditional compilation constants"
b) If you are compiling for DNN 4.6.0 or higher (including DNN 5) then you should make sure that the XepientSolutions.XSSearchSpider project properties/Configuration properties/Build does include a "conditional compilation constants" called DNN_4_6_0
What the compilation constants do, is to enable or dishable (depending on their presence or not, blocks of code that are placed between conditional statements such as:
#IF
#ELSE
#ENDIF
If for any reason, you have placed teh correct conditional compilation constant and you still get an error, just remove the offending lines of code (as a last resort).
|
|
| Permalink |
Trackback |
|
|
|
|
|
|
|