|
|
|
@ -32,12 +32,10 @@ set -ex |
|
|
|
|
|
|
|
|
|
cd $(dirname $0)/../../../src/csharp |
|
|
|
|
|
|
|
|
|
OVERRIDE_NATIVELIB_MAYBE="" |
|
|
|
|
if [ "$CONFIG" == "gcov" ] |
|
|
|
|
then |
|
|
|
|
# overriding NativeDependenciesConfigurationUnix makes C# project pick up |
|
|
|
|
# the gcov flavor of grpc_csharp_ext |
|
|
|
|
OVERRIDE_NATIVELIB_MAYBE="/p:NativeDependenciesConfigurationUnix=$CONFIG" |
|
|
|
|
# overriding NativeDependenciesConfigurationUnix makes C# project pick up the gcov flavor of grpc_csharp_ext |
|
|
|
|
dotnet build --configuration $MSBUILD_CONFIG /p:NativeDependenciesConfigurationUnix=gcov Grpc.sln |
|
|
|
|
else |
|
|
|
|
dotnet build --configuration $MSBUILD_CONFIG Grpc.sln |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
dotnet build --configuration $MSBUILD_CONFIG $OVERRIDE_NATIVELIB_MAYBE Grpc.sln |
|
|
|
|