diff --git a/.evergreen/config.yml b/.evergreen/config.yml index fe6b4f22d..0280648e8 100755 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -1093,7 +1093,7 @@ buildvariants: - build-and-test-and-upload - build-and-test-shared-bson - build-and-test-asan-mac - - build-and-test-csharp + # - build-and-test-csharp // temporary removed to make strong named release. - test-java - name: rhel72-zseries-test display_name: "RHEL 7.2 on zSeries" @@ -1134,7 +1134,7 @@ buildvariants: tasks: - build-and-test-and-upload - build-and-test-shared-bson - - build-and-test-csharp + # - build-and-test-csharp // temporary removed to make strong named release. - test-java - name: windows-test-python display_name: "Windows Python" @@ -1447,7 +1447,7 @@ buildvariants: - build-and-test-and-upload - build-and-test-shared-bson - build-and-test-asan - - build-and-test-csharp + # - build-and-test-csharp // temporary removed to make strong named release. - test-java - name: publish-packages distros: @@ -1489,7 +1489,7 @@ buildvariants: - build-and-test-and-upload - build-and-test-shared-bson - build-and-test-asan - - build-and-test-csharp + # - build-and-test-csharp // temporary removed to make strong named release. - test-java - upload-java - publish-packages diff --git a/bindings/cs/CMakeLists.txt b/bindings/cs/CMakeLists.txt index bd709d704..f55cc0783 100644 --- a/bindings/cs/CMakeLists.txt +++ b/bindings/cs/CMakeLists.txt @@ -1,5 +1,6 @@ configure_file(cs.sln cs.sln COPYONLY) +configure_file(MongoDB.Driver.snk MongoDB.Driver.snk COPYONLY) configure_file(MongoDB.Libmongocrypt/MongoDB.Libmongocrypt.csproj MongoDB.Libmongocrypt/MongoDB.Libmongocrypt.csproj COPYONLY) configure_file(MongoDB.Libmongocrypt/Package.include.template.csproj MongoDB.Libmongocrypt/Package.csproj.include) diff --git a/bindings/cs/MongoDB.Driver.snk b/bindings/cs/MongoDB.Driver.snk new file mode 100644 index 000000000..f8eaad4c8 Binary files /dev/null and b/bindings/cs/MongoDB.Driver.snk differ diff --git a/bindings/cs/MongoDB.Libmongocrypt.Test/MongoDB.Libmongocrypt.Test.csproj b/bindings/cs/MongoDB.Libmongocrypt.Test/MongoDB.Libmongocrypt.Test.csproj index c510105b2..7678ad070 100644 --- a/bindings/cs/MongoDB.Libmongocrypt.Test/MongoDB.Libmongocrypt.Test.csproj +++ b/bindings/cs/MongoDB.Libmongocrypt.Test/MongoDB.Libmongocrypt.Test.csproj @@ -6,6 +6,8 @@ AnyCPU false + true + ..\MongoDB.Driver.snk diff --git a/bindings/cs/MongoDB.Libmongocrypt.Test32/MongoDB.Libmongocrypt.Test32.csproj b/bindings/cs/MongoDB.Libmongocrypt.Test32/MongoDB.Libmongocrypt.Test32.csproj index f13794d79..5f5cb2d82 100644 --- a/bindings/cs/MongoDB.Libmongocrypt.Test32/MongoDB.Libmongocrypt.Test32.csproj +++ b/bindings/cs/MongoDB.Libmongocrypt.Test32/MongoDB.Libmongocrypt.Test32.csproj @@ -4,6 +4,8 @@ net472;netcoreapp2.1;netcoreapp3.0 netcoreapp2.1;netcoreapp3.0 false + true + ..\MongoDB.Driver.snk diff --git a/bindings/cs/MongoDB.Libmongocrypt/AssemblyInfo.cs b/bindings/cs/MongoDB.Libmongocrypt/AssemblyInfo.cs index 7b0f531f5..0d7b58a7c 100644 --- a/bindings/cs/MongoDB.Libmongocrypt/AssemblyInfo.cs +++ b/bindings/cs/MongoDB.Libmongocrypt/AssemblyInfo.cs @@ -1,4 +1,4 @@ using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("MongoDB.Libmongocrypt.Test")] -[assembly: InternalsVisibleTo("MongoDB.Libmongocrypt.Test32")] +[assembly: InternalsVisibleTo("MongoDB.Libmongocrypt.Test, PublicKey=002400000480000094000000060200000024000052534131000400000100010035287f0d3883c0a075c88e0cda3ce93b621003ecbd5e920d4a8c7238564f4d2f4f68116aca28c9b21341dc3a877679c14556192b2b2f5fe2c11d624e0894d308ff7b94bf6fd72aef1b41017ffe2572e99019d1c61963e68cd0ed67734a42cb333b808e3867cbe631937214e32e409fb1fa62fdb69d494c2530e64a40e417d6ee")] +[assembly: InternalsVisibleTo("MongoDB.Libmongocrypt.Test32, PublicKey=002400000480000094000000060200000024000052534131000400000100010035287f0d3883c0a075c88e0cda3ce93b621003ecbd5e920d4a8c7238564f4d2f4f68116aca28c9b21341dc3a877679c14556192b2b2f5fe2c11d624e0894d308ff7b94bf6fd72aef1b41017ffe2572e99019d1c61963e68cd0ed67734a42cb333b808e3867cbe631937214e32e409fb1fa62fdb69d494c2530e64a40e417d6ee")] diff --git a/bindings/cs/MongoDB.Libmongocrypt/MongoDB.Libmongocrypt.csproj b/bindings/cs/MongoDB.Libmongocrypt/MongoDB.Libmongocrypt.csproj index a1d3b7de0..049f45e8c 100644 --- a/bindings/cs/MongoDB.Libmongocrypt/MongoDB.Libmongocrypt.csproj +++ b/bindings/cs/MongoDB.Libmongocrypt/MongoDB.Libmongocrypt.csproj @@ -24,6 +24,8 @@ mongodb;mongo;nosql en-US true + true + ..\MongoDB.Driver.snk