aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-07-25 15:56:46 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-07-31 12:42:47 +0200
commitecaba8a8d30d227d3ba23c23d43eb4ec12e75954 (patch)
tree26b618586a249a9b67dec612026b02c55a21d054 /examples
parentfd91656429ba68ce7af88a866f2ee1545677c33c (diff)
HelloworldXamaring: add Google.Protobuf dependency
Diffstat (limited to 'examples')
-rw-r--r--examples/csharp/HelloworldXamarin/Droid/HelloworldXamarin.Droid.csproj3
-rw-r--r--examples/csharp/HelloworldXamarin/Droid/packages.config1
-rw-r--r--examples/csharp/HelloworldXamarin/iOS/HelloworldXamarin.iOS.csproj3
-rw-r--r--examples/csharp/HelloworldXamarin/iOS/packages.config1
4 files changed, 8 insertions, 0 deletions
diff --git a/examples/csharp/HelloworldXamarin/Droid/HelloworldXamarin.Droid.csproj b/examples/csharp/HelloworldXamarin/Droid/HelloworldXamarin.Droid.csproj
index 157fa3f0ef..b5ca8490a4 100644
--- a/examples/csharp/HelloworldXamarin/Droid/HelloworldXamarin.Droid.csproj
+++ b/examples/csharp/HelloworldXamarin/Droid/HelloworldXamarin.Droid.csproj
@@ -53,6 +53,9 @@
<Reference Include="Grpc.Core">
<HintPath>..\packages\Grpc.Core.1.15.0-dev\lib\netstandard1.5\Grpc.Core.dll</HintPath>
</Reference>
+ <Reference Include="Google.Protobuf">
+ <HintPath>..\packages\Google.Protobuf.3.6.0\lib\netstandard1.0\Google.Protobuf.dll</HintPath>
+ </Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
diff --git a/examples/csharp/HelloworldXamarin/Droid/packages.config b/examples/csharp/HelloworldXamarin/Droid/packages.config
index 4fee491e7e..3574b6782b 100644
--- a/examples/csharp/HelloworldXamarin/Droid/packages.config
+++ b/examples/csharp/HelloworldXamarin/Droid/packages.config
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
+ <package id="Google.Protobuf" version="3.6.0" targetFramework="monoandroid81" />
<package id="Grpc.Core" version="1.15.0-dev" targetFramework="monoandroid81" />
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="monoandroid81" />
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="monoandroid81" />
diff --git a/examples/csharp/HelloworldXamarin/iOS/HelloworldXamarin.iOS.csproj b/examples/csharp/HelloworldXamarin/iOS/HelloworldXamarin.iOS.csproj
index f968398278..b5c0d1d119 100644
--- a/examples/csharp/HelloworldXamarin/iOS/HelloworldXamarin.iOS.csproj
+++ b/examples/csharp/HelloworldXamarin/iOS/HelloworldXamarin.iOS.csproj
@@ -92,6 +92,9 @@
<Reference Include="Grpc.Core">
<HintPath>..\packages\Grpc.Core.1.15.0-dev\lib\netstandard1.5\Grpc.Core.dll</HintPath>
</Reference>
+ <Reference Include="Google.Protobuf">
+ <HintPath>..\packages\Google.Protobuf.3.6.0\lib\netstandard1.0\Google.Protobuf.dll</HintPath>
+ </Reference>
</ItemGroup>
<ItemGroup>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Contents.json" />
diff --git a/examples/csharp/HelloworldXamarin/iOS/packages.config b/examples/csharp/HelloworldXamarin/iOS/packages.config
index ad960e401e..ce4bceb62a 100644
--- a/examples/csharp/HelloworldXamarin/iOS/packages.config
+++ b/examples/csharp/HelloworldXamarin/iOS/packages.config
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
+ <package id="Google.Protobuf" version="3.6.0" targetFramework="xamarinios10" />
<package id="Grpc.Core" version="1.15.0-dev" targetFramework="xamarinios10" />
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="xamarinios10" />
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="xamarinios10" />