Building .NET Version

This topic applies to .NET version only

.NET version can also be built from MS Visual Studio 2003(legacy versions), 2005.

The sources are available in your db4o distribution. They can also be obtained from the SVN repository by checking out db4o.net project.

Open an appropriate solution in Visual Studio (Db4objects.Db4o-2005.sln etc), run the build. The output can be found in  /bin folder.

If you want to build the other supplemental projects distributed with the db4o source you can use the corresponding solution files in the /src folder.

Using Db4objects.Db4o.NativeQueries or Db4objects.Db4o.Instrumentation projects you must know that they depend on external Cecil libraries:

  • Cecil.Flowanalysis.dll
  • Mono.Cecil.Pdb.dll
  • Mono.Cecil.dll

(In VisualStudio 2003 Compact Framework version information about this dependency is not stored in the project file due to a bug in Microsoft CompactFramework. You will have to manually add references to Cecil.Flowanalysis.dll and Mono.Cecil.dll, which can be found in src/Libs/compact-1.0 folder. The solution should be rebuilt after modifying the references.)

Mono version can be built using Makefile or default.build (nAnt). For more details see Db4o On Mono

Further reading:

Testing Db4o

Patch Submission