• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/docs/programmer_reference/
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4  <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6    <title>Building the C# API</title>
7    <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8    <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9    <link rel="start" href="index.html" title="Berkeley DB Programmer's Reference Guide" />
10    <link rel="up" href="build_win.html" title="Chapter��28.�� Building Berkeley DB for Windows" />
11    <link rel="prev" href="build_win_java.html" title="Building the Java API" />
12    <link rel="next" href="build_win_tcl.html" title="Building the Tcl API" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Building the C# API</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="build_win_java.html">Prev</a>��</td>
22          <th width="60%" align="center">Chapter��28.��
23		Building Berkeley DB for Windows
24        </th>
25          <td width="20%" align="right">��<a accesskey="n" href="build_win_tcl.html">Next</a></td>
26        </tr>
27      </table>
28      <hr />
29    </div>
30    <div class="sect1" lang="en" xml:lang="en">
31      <div class="titlepage">
32        <div>
33          <div>
34            <h2 class="title" style="clear: both"><a id="build_win_csharp"></a>Building the C# API</h2>
35          </div>
36        </div>
37      </div>
38      <div class="toc">
39        <dl>
40          <dt>
41            <span class="sect2">
42              <a href="build_win_csharp.html#id1632526">Building C# with Visual Studio 2005</a>
43            </span>
44          </dt>
45        </dl>
46      </div>
47      <p>
48    The C# support is built by a separate Visual Studio solution,
49    <code class="filename">build_windows\BDB_dotnet.sln</code>, and requires version
50    2.0 (or higher) of the .NET platform.
51</p>
52      <div class="sect2" lang="en" xml:lang="en">
53        <div class="titlepage">
54          <div>
55            <div>
56              <h3 class="title"><a id="id1632526"></a>Building C# with Visual Studio 2005</h3>
57            </div>
58          </div>
59        </div>
60        <p>
61        By default, the solution will build the native libraries, the
62        managed assembly and all example programs.  The NUnit tests need to
63        be built explicitly because of their dependence upon the NUnit
64        assembly.  The native libraries will be placed in one of the
65        following subdirectories, depending upon the chosen configuration:
66    </p>
67        <table class="simplelist" border="0" summary="Simple list">
68          <tr>
69            <td>
70              <code class="filename">build_windows\Win32\Debug</code>
71            </td>
72          </tr>
73          <tr>
74            <td>
75              <code class="filename">build_windows\Win32\Release</code>
76            </td>
77          </tr>
78          <tr>
79            <td>
80              <code class="filename">build_windows\x64\Debug</code>
81            </td>
82          </tr>
83          <tr>
84            <td>
85              <code class="filename">build_windows\x64\Release</code>
86            </td>
87          </tr>
88        </table>
89        <p>
90    The managed assembly and all C# example programs will be placed in one of
91    the following subdirectories, depending upon the chosen configuration:
92</p>
93        <table class="simplelist" border="0" summary="Simple list">
94          <tr>
95            <td>
96              <code class="filename">build_windows\AnyCPU\Debug</code>
97            </td>
98          </tr>
99          <tr>
100            <td>
101              <code class="filename">build_windows\AnyCPU\Release</code>
102            </td>
103          </tr>
104        </table>
105        <p>
106    The native libraries need to be locatable by the .NET platform, meaning
107    they must be copied into an application's directory, the Windows or
108    System directory, or their location must be added to the PATH
109    environment variable.  The example programs demonstrate how to
110    programmatically edit the PATH variable.
111</p>
112      </div>
113    </div>
114    <div class="navfooter">
115      <hr />
116      <table width="100%" summary="Navigation footer">
117        <tr>
118          <td width="40%" align="left"><a accesskey="p" href="build_win_java.html">Prev</a>��</td>
119          <td width="20%" align="center">
120            <a accesskey="u" href="build_win.html">Up</a>
121          </td>
122          <td width="40%" align="right">��<a accesskey="n" href="build_win_tcl.html">Next</a></td>
123        </tr>
124        <tr>
125          <td width="40%" align="left" valign="top">Building the Java API��</td>
126          <td width="20%" align="center">
127            <a accesskey="h" href="index.html">Home</a>
128          </td>
129          <td width="40%" align="right" valign="top">��Building the Tcl API</td>
130        </tr>
131      </table>
132    </div>
133  </body>
134</html>
135