asimmon / ephemeral-mongo

EphemeralMongo is a set of three NuGet packages wrapping the binaries of MongoDB 4, 5 and 6 built for .NET Standard 2.0.
Apache License 2.0
103 stars 12 forks source link

Binaries doesnt get downloaded in linux-64 in CI #49

Open santhoshrajr opened 1 year ago

santhoshrajr commented 1 year ago

Hello ,

I have a dotnet project building on CI pipeline in linux OS. However the binaries folder does not exist in runtimes\linux-x64\native folder which is causing the tests to fail with the below error System.ComponentModel.Win32Exception : An error occurred trying to start process '/opt/****/workspace/Build_NetCore_MSV/source/app/test/app.Test/bin/Release/net6.0/runtimes/linux-x64/native/mongodb/bin/mongod' with working directory '/opt/****/workspace/Build_NetCore_MSV/source/app/test/app.Test/bin/Release/net6.0'. No such file or directory

I was able to see binaries in win , linux when I run locally. Please help

ante-maric commented 1 year ago

Are you referencing Ephemeral Mongo nugets in your test project directly or are you having your own nuget that references Ephemeral Mongo nugets and then your test project references your nuget?