Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
5915a7f4
Commit
5915a7f4
authored
9 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Patches
Plain Diff
Minor improvements to C# readme
parent
40c46658
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/csharp/README.md
+12
-11
12 additions, 11 deletions
src/csharp/README.md
with
12 additions
and
11 deletions
src/csharp/README.md
+
12
−
11
View file @
5915a7f4
...
@@ -35,15 +35,16 @@ Usage: Linux (Mono)
...
@@ -35,15 +35,16 @@ Usage: Linux (Mono)
-
(preferred approach) add
`libgrpc_csharp_ext.so`
to
`/etc/ld.so.cache`
by running:
-
(preferred approach) add
`libgrpc_csharp_ext.so`
to
`/etc/ld.so.cache`
by running:
```sh
```sh
echo "$HOME/.linuxbrew/lib" | sudo tee /etc/ld.so.conf.d/zzz_brew_lib.conf
$
echo "$HOME/.linuxbrew/lib" | sudo tee /etc/ld.so.conf.d/zzz_brew_lib.conf
sudo ldconfig
$
sudo ldconfig
```
```
-
(adhoc approach) set
`LD_LIBRARY_PATH`
environment variable to point to directory containing
`libgrpc_csharp_ext.so`
:
-
(adhoc approach) set
`LD_LIBRARY_PATH`
environment variable to point to directory containing
`libgrpc_csharp_ext.so`
:
```sh
```sh
export LD_LIBRARY_PATH=$HOME/.linuxbrew/lib:${LD_LIBRARY_PATH}
$
export LD_LIBRARY_PATH=$HOME/.linuxbrew/lib:${LD_LIBRARY_PATH}
```
```
-
(if you are contributor) installing gRPC from sources using
`sudo make install_grpc_csharp_ext`
also works.
-
Open MonoDevelop and start a new project/solution.
-
Open MonoDevelop and start a new project/solution.
...
@@ -87,14 +88,14 @@ If you are a user of gRPC C#, go to Usage section above.
...
@@ -87,14 +88,14 @@ If you are a user of gRPC C#, go to Usage section above.
a convenience batch script that builds everything for you.
a convenience batch script that builds everything for you.
```
```
buildall.bat
>
buildall.bat
```
```
-
Open Grpc.sln using Visual Studio 2013. NuGet dependencies will be restored
-
Open Grpc.sln using Visual Studio 2013. NuGet dependencies will be restored
upon build (you need to have NuGet add-in installed).
upon build (you need to have NuGet add-in installed).
Building: Linux
&
Mono
Building: Linux
(
Mono
)
----------------------
----------------------
You only need to go through these steps if you are planning to develop gRPC C#.
You only need to go through these steps if you are planning to develop gRPC C#.
...
@@ -103,8 +104,8 @@ If you are a user of gRPC C#, go to Usage section above.
...
@@ -103,8 +104,8 @@ If you are a user of gRPC C#, go to Usage section above.
-
Prerequisites for development: Mono 3.2.8+, MonoDevelop 5.9 with NuGet and NUnit add-ins installed.
-
Prerequisites for development: Mono 3.2.8+, MonoDevelop 5.9 with NuGet and NUnit add-ins installed.
```
sh
```
sh
sudo
apt-get
install
mono-devel
$
sudo
apt-get
install
mono-devel
sudo
apt-get
install
nunit nunit-console
$
sudo
apt-get
install
nunit nunit-console
```
```
You can use older versions of MonoDevelop, but then you might need to restore
You can use older versions of MonoDevelop, but then you might need to restore
...
@@ -114,8 +115,8 @@ don't support NuGet add-in.
...
@@ -114,8 +115,8 @@ don't support NuGet add-in.
-
Compile and install the gRPC C# extension library (that will be used via
-
Compile and install the gRPC C# extension library (that will be used via
P/Invoke from C#).
P/Invoke from C#).
```
sh
```
sh
make grpc_csharp_ext
$
make grpc_csharp_ext
sudo
make install_grpc_csharp_ext
$
sudo
make install_grpc_csharp_ext
```
```
-
Use MonoDevelop to open the solution Grpc.sln
-
Use MonoDevelop to open the solution Grpc.sln
...
@@ -135,9 +136,9 @@ Then you should be able to run all the test from the Test View.
...
@@ -135,9 +136,9 @@ Then you should be able to run all the test from the Test View.
After building the solution, you can also run the tests from command line
After building the solution, you can also run the tests from command line
using nunit-console tool.
using nunit-console tool.
```
```
sh
# from Grpc.Core.Test/bin/Debug directory
# from Grpc.Core.Test/bin/Debug directory
nunit-console Grpc.Core.Tests.dll
$
nunit-console Grpc.Core.Tests.dll
```
```
Contents
Contents
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment