summaryrefslogtreecommitdiff
path: root/dist/s_csharp_doc
blob: 77c060f362d0c62b6a5ddc9e674b44905e311d4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh -
# Build documentation for the C# API.
# Visual Studio (devenv.exe) must be in your PATH
# The .NET Framework v3.5 must be installed

# Cygwin/Mingw uses / as path separator.
SYSROOT=`echo "$SYSTEMROOT" | sed '#\\#/#g'`

# Build the release version of the C# library.
cd ../build_windows
devenv BDB_dotNet.sln /upgrade
devenv BDB_dotNet.sln /build "Release|Win32"

# Build the C# documentation.
cd ../lang/csharp/doc
$SYSROOT/Microsoft.Net/Framework/v3.5/MSBuild.exe /p:Configuration=Release CsharpDoc.shfbproj