You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of May 2017, the CSharp build is considered a preview release. API stability is not yet guaranteed. User and Developer guides are not yet released or are incomplete.
116
+
Users of CSharp generated code should see the [user documentation](https://github.com/real-logic/simple-binary-encoding/wiki/Csharp-User-Guide).
117
117
118
-
First build using Gradle to generate the SBE jar and then use it to generate the C# code used for testing and the examples.
119
-
120
-
$ ./gradlew
121
-
$ ./gradlew generateCSharpCodecs
122
-
123
-
You can then use the [Visual Studio 2017 Community solution](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/csharp.sln) to build and explore the example. This solution also builds some tests which can be run via the provided [runtests.sh](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/runtests.sh) script.
124
-
125
-
Users of CSharp generated code should see the [user documentation (coming)](https://github.com/real-logic/simple-binary-encoding/wiki/Csharp-User-Guide).
126
-
127
-
Developers wishing to enhance the CSharp generator should see the [developer documentation (coming)](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/README.md)
118
+
Developers wishing to enhance the CSharp generator should see the [developer documentation](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/README.md)
Copy file name to clipboardExpand all lines: csharp/README.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Java and gradlew are used to build the generator.
11
11
12
12
git bash and shell scripts are used for scripting.
13
13
14
-
The C# code is built using Visual Studio Community 2017.
14
+
The C# code was originally built using Visual Studio Community 2017.
15
15
16
16
The code, samples, tests and nuget package can be built/run using the [dotnet core sdk](https://www.microsoft.com/net/download):
17
17
@@ -20,6 +20,13 @@ The code, samples, tests and nuget package can be built/run using the [dotnet co
20
20
21
21
## Release Notes
22
22
23
+
### 1.13.0
24
+
25
+
* Many build system improvements
26
+
* Better inlining support
27
+
* Issue #660 Add Length() and GetBytes() methods for VarStrings
28
+
* Add csharp code-gen time property that allows squashing of namespace
29
+
23
30
### 0.1.8.1-beta-2
24
31
25
32
C# Span support has been added to the code generation, and a set of corresponding utilities added to sbe-dll `DirectBuffer`. It is now possible to copy to/from a `Span<byte>` where previously only `byte[]` types were supported. This introduces a dependency on the [`System.Memory`](https://www.nuget.org/packages/System.Memory/) nuget package both for sbe-dll and generated code produced by sbe-tool.
@@ -78,8 +85,6 @@ For now you can:
78
85
79
86
* build the SBE csharp generator using `gradlew`
80
87
* generate the csharp codecs using `gradlew GenerateCSharpCodecs`
81
-
* Use the [Visual Studio 2017 Community solution](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/csharp.sln) to build the solution, run the unit tests, examples and benchmarks
82
-
* Use the command script
83
-
*[csharpbuild.cmd](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/csharpbuild.cmd) to build the dotnet core support
88
+
* Use the bash script [build.sh](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/build.sh) to run the tests
84
89
* Use the bash script [runtests.sh](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/runtests.sh) to run the tests
85
-
*Build the nuget package via [do-release.sh](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/.nuget/do-release.sh)although this remains a largely manual process.
90
+
*Use the bash script [pack.sh](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/pack.sh)to create the nuget package
<Description>This package contains all you need to define SBE messages and generate C# encoders and decoders. See https://github.com/real-logic/simple-binary-encoding for more detailed instructions</Description>
0 commit comments