Open topic with navigation
Including Db4oTool In The Build
The easiest way to use Db4oTool is to include it directly in the build process. This will enable you to get a processed assembly immediately after a successful build.
Use the following steps to enable Db4oTool in Visual Studio project:
- Make sure that Db4oTool.exe together with the other libraries from the bin folder in the distribution are accessible to your project.
- Open Project Properties page and select "Build Events" tab.
- In the "Post-build event command line:" enter the required Db4oTool command:
[path_to_Db4oTool_folder]/Db4oTools.exe [options] $(TargetPath)
if Db4oTool is included in your project's references, [path_to_Db4oTool_folder]
should be skipped.
- In the "Run the post-build event:" select "On successful build"
- Run the build. The resulting assembly will contain all the modifications made by Db4oTool.
For more Db4oTool options please refer to Db4oTool Usage.