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
(field) static readonly Testing.FirestoreStorageTestHelper FirestoreRepositoryTests.firestoreTestHelper
Test method MyProject.Data.Repositories.FirestoreRepositoryTests.FirestoreAccountDocRepository_InsertAsync__inserts_to_db threw exception:
System.IO.FileNotFoundException: Error loading native library. Not found in any of the possible locations: /Users/lukepuplett/Documents/Git/MyProject/tests/MyProject.Web.Application.Tests/bin/Debug/net6.0/libgrpc_csharp_ext.arm64.dylib,/Users/lukepuplett/Documents/Git/MyProject/tests/MyProject.Web.Application.Tests/bin/Debug/net6.0/runtimes/osx-arm64/native/libgrpc_csharp_ext.arm64.dylib,/Users/lukepuplett/Documents/Git/MyProject/tests/MyProject.Web.Application.Tests/bin/Debug/net6.0/../../runtimes/osx-arm64/native/libgrpc_csharp_ext.arm64.dylib
Environment details
.NET SDK (reflecting any global.json):
Version: 6.0.100
Commit: 9e8b04bbff
Runtime Environment:
OS Name: Mac OS X
OS Version: 12.1
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/6.0.100/
Host (useful for support):
Version: 6.0.0
Commit: 4822e3c3aa
.NET SDKs installed:
6.0.100 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Here's a search for that file (others like it).
*[master][~/Documents/Git/MyProject]$ find . -type f -name "*.arm64.*"
./tests/MyProject.Web.Application.Tests/bin/Debug/net6.0/runtimes/linux-arm64/native/libgrpc_csharp_ext.arm64.so
./tests/MyProject.AspNetCoreMvc.Tests/bin/Debug/net6.0/runtimes/linux-arm64/native/libgrpc_csharp_ext.arm64.so
./src/MyProject.AspNetCoreMvc/bin/Debug/net6.0/runtimes/linux-arm64/native/libgrpc_csharp_ext.arm64.so
Package name and version
<!-- test project -->
<PackageReferenceInclude="Microsoft.NET.Test.Sdk"Version="17.0.0" />
<PackageReferenceInclude="MSTest.TestAdapter"Version="2.2.8" />
<PackageReferenceInclude="MSTest.TestFramework"Version="2.2.8" />
... etc.
<!-- data project -->
<PackageReferenceInclude="Google.Cloud.Firestore"Version="2.5.0" />
<PackageReferenceInclude="Grpc.Core"Version="2.43.0" />
... etc.
Note - I added direct dependencies to Google.Cloud.Firestore and Grpc.Core to my test project as an experiment but it didn't work.
Note - I was running pretty old test SDK libs and updated them all.
Note - I have never had any running code (app or test) yet as I'm in the midst of a migration to GCP.
Steps to reproduce
I've not checked the reproducibility but the error began after adding code to read credentials from a JSON file instead of using ADC during FirebaseDb initialization.
Comments
I'm aware of other issues logged for this error but I've not had any joy with Grpc.Core nor with changing my test libs. It seems unusual to me to get this kind of error in .NET anyway.
The text was updated successfully, but these errors were encountered:
Environment details
Here's a search for that file (others like it).
Package name and version
Note - I added direct dependencies to Google.Cloud.Firestore and Grpc.Core to my test project as an experiment but it didn't work.
Note - I was running pretty old test SDK libs and updated them all.
Note - I have never had any running code (app or test) yet as I'm in the midst of a migration to GCP.
Steps to reproduce
I've not checked the reproducibility but the error began after adding code to read credentials from a JSON file instead of using ADC during FirebaseDb initialization.
Comments
I'm aware of other issues logged for this error but I've not had any joy with
Grpc.Core
nor with changing my test libs. It seems unusual to me to get this kind of error in .NET anyway.The text was updated successfully, but these errors were encountered: