bond/cs/nuget
Christopher Warrington 3221200462 [c++ c#] Remove Bond Comm 2018-03-20 15:42:42 -07:00
..
.dir-locals.el [c#] Rearrange nuspec files by target 2016-11-10 14:12:42 -08:00
bond.compiler.csharp.nuspec [c#] Add automatic codegen for .NET Core projects 2018-03-07 14:11:00 -08:00
bond.compiler.nuspec [c#] Update NuGet package copyright 2017-11-15 14:11:48 -08:00
bond.core.csharp.nuspec [c#] Update NuGet package copyright 2017-11-15 14:11:48 -08:00
bond.csharp.nuspec [c#] Add automatic codegen for .NET Core projects 2018-03-07 14:11:00 -08:00
bond.csharp.test.csproj Update Nuget test to version 7.0.1 2017-10-26 15:35:20 -07:00
bond.grpc.csharp.nuspec [c# grpc] Upgrade to gRPC v1.10.0 2018-03-07 12:43:00 -08:00
bond.runtime.csharp.nuspec [c#] Update NuGet package copyright 2017-11-15 14:11:48 -08:00
nuget.sln Update Nuget test to version 6.0.0 2017-06-29 20:43:28 -07:00
packages.config Update Nuget test to version 7.0.1 2017-10-26 15:35:20 -07:00
readme.txt Run multiple gbc jobs when using Bond.CSharp.targets 2015-02-12 12:16:15 -08:00

readme.txt

About
=====

Bond is an open source, cross-platform, cross-language framework for working 
with schematized data.

Bond is published on GitHub at https://github.com/Microsoft/bond/

The C# documentation is available at http://microsoft.github.io/bond/manual/bond_cs.html

The C# examples are at https://github.com/Microsoft/bond/tree/master/examples/cs/core

Bond codegen
============

The .bond schema files can be automatically built as part of a project by using 
the 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 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 for this project
    $BondCodegenMode     : Code generation mode for gbc to use (default c#)

By default gbc is executed with `--jobs=-2` option to compile multiple .bond
files concurrently, using 2 fewer jobs than there are processor cores. You can
override this behaviour by setting a different value for `--jobs` option via
the `BondOptions` property.

For details see http://microsoft.github.io/bond/manual/bond_cs.html#code-generation

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 them from the build.