For both Visual Studio projects db_tcl and dbxml_tcl,
right click the project and choose
Properties -> Configuration Properties -> VC++ Directories.
Select "Include Directories", and the full pathname for the
tcl/include directory. Then select "Executable Directories",
and add the full pathname for the tcl/bin directory.
Finally select "Library Directories",
and add the full pathnames for the tcl/lib directory.
Set the build type to Release or Debug (or other appropriate configuration) in the drop-down on the .NET tool bar.
Right-click on db_tcl and select Build. This builds the TCL support
library for Berkeley DB, which is required for Berkeley DB XML, and compiles
all the files, placing the result into
bin/debug/libdb_tcl62d.dll or
bin/libdb_tcl62.dll.
Right-click on dbxml_tcl and select Build. This builds the Tcl support
library for Berkeley DB XML, placing the result into
bin/debug/libdbxml_tcl60d.dll or
bin/libdbxml_tcl60.dll.
If you use a version different from Tcl 8.6.x you will need to change
the name of the Tcl library used in the build (for example,
tcl86.lib) to the appropriate name. To do this,
right click on db_tcl, go to Properties -> Linker ->
Input -> Additional dependencies and change
tcl86.lib to match the Tcl version you are using. Do the
same for dbxml_tcl.