This commit is contained in:
Adam Sapek 2015-01-14 11:22:11 -08:00
Родитель f395b06b98
Коммит f229cd11ca
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -14,19 +14,19 @@ Bond codegen
============
The .bond schema files can be automatically built as part of a project by using
BondCodegen build action (note that after adding installing the Bond package
you may need to reload the project before Visual Studio sees the new build
action). The generated .cs files will be implicitly compiled as part of the project.
BondCodegen build action (note that after installing the Bond package you may
need to reload the project before Visual Studio sees the new build action). The
generated .cs files will be implicitly compiled as part of the project.
You can customize the code generation by defining the following
properties/items in your project:
@BondCodegen : A Bond schema file (usually with a .bond extension)
%Options : Additional options to pass to the gbc compiler for this .bond file
%Options : Additional options to pass to the gbc compiler for this file
@BondImportDirectory : Directories to search for imported schemas
$BondOutputDirectory : Directory for generated files, by default IntermediateOutputPath
$BondOptions : Additional options to pass to the gbc compiler
$BondCodegenMode : Code generation mode for gbc.exe to use (default c#)
$BondOptions : Additional options to pass to the gbc compiler for this project
$BondCodegenMode : Code generation mode for gbc to use (default c#)
For details see http://microsoft.github.io/bond/manual/bond_cs.html#code-generation
@ -34,4 +34,4 @@ ReSharper
---------
ReSharper may not see the generated files as part of the project. As a workaround
you can add the files to the project explicitly and exclude from the build.
you can add the files to the project explicitly and exclude them from the build.