Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live Unit Testing support #56

Open
Peska opened this issue Apr 3, 2019 · 0 comments
Open

Live Unit Testing support #56

Peska opened this issue Apr 3, 2019 · 0 comments

Comments

@Peska
Copy link

Peska commented Apr 3, 2019

I'm using MS Tests with Visual Studio 2019 16.0.0 and 5.17.2 version of this library.

Running test in "standard" mode - right click -> Run Selected Tests is working as expected. However, when I enable Live Unit Testing, Visual Studio is unable to locate RocksDbSharp.Native library:

> System.TypeInitializationException: The type initializer for 'RocksDbSharp.Native' threw an exception. ---> NativeImport.NativeLoadException: Unable to locate rocksdb native library, either install it, or use RocksDbNative nuget package
> Searched:
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\native\amd64\rocksdb-5.17.2.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\native\amd64\rocksdb-5.17.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\native\amd64\rocksdb-5.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\native\amd64\rocksdb.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\native\rocksdb-5.17.2.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\native\rocksdb-5.17.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\native\rocksdb-5.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\native\rocksdb.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\amd64\rocksdb-5.17.2.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\amd64\rocksdb-5.17.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\amd64\rocksdb-5.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\amd64\rocksdb.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\rocksdb-5.17.2.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\rocksdb-5.17.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\rocksdb-5.dll: (Win32Exception) The specified module could not be found
> C:\PathToProject\.vs\ProjectName\lut\0\t\ProjectName.Tests\bin\Debug\rocksdb.dll: (Win32Exception) The specified module could not be found
> rocksdb-5.17.2.dll: (Win32Exception) The specified module could not be found
> rocksdb-5.17.dll: (Win32Exception) The specified module could not be found
> rocksdb-5.dll: (Win32Exception) The specified module could not be found
> rocksdb.dll: (Win32Exception) The specified module could not be found

When I examine this folder, I couldn't find 'native" directory as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant