Giter Site home page Giter Site logo

Comments (4)

olegtarasov avatar olegtarasov commented on May 25, 2024

Hi @lib4k!

This is weird, your code works as expected in a new .NET Core 3.1 Console app. Let's try to debug the issue. Can you add the Serilog.Sinks.Console nuget package to your project and add the code as follows?

Log.Logger = new LoggerConfiguration()
                         .MinimumLevel.Debug()
                         .WriteTo.Console()
                         .CreateLogger();
var fastText = new FastTextWrapper();
// etc

You should see some output from the library:

[11:01:57 INF] Unpacking native library fasttext.dll to Y:\Projects\FastTextTest\FastTextTest\bin\Debug\netcoreapp3.1\fasttext.dll
[11:01:57 INF] File Y:\Projects\FastTextTest\FastTextTest\bin\Debug\netcoreapp3.1\fasttext.dll already exists, computing hashes.
[11:01:57 INF] Hashes are equal, no need to unpack.
[11:01:57 INF] Directly loading Y:\Projects\FastTextTest\FastTextTest\bin\Debug\netcoreapp3.1\fasttext.dll...
[11:01:57 INF] Success

What does yours say?

from fasttext.netwrapper.

UlrichSuess avatar UlrichSuess commented on May 25, 2024

Sorry if this is a bit vague as I am not sure, but I think we had an at least similar problem due to using NuGet with package.config. It got solved after changing to using PackageReference. See https://docs.microsoft.com/de-de/nuget/consume-packages/migrate-packages-config-to-package-reference.

from fasttext.netwrapper.

VZMDeadAngel avatar VZMDeadAngel commented on May 25, 2024

https://stackoverflow.com/questions/21138212/c-sharp-unable-to-load-dll-module-could-not-be-found-hresult-0x8007007e

from fasttext.netwrapper.

olegtarasov avatar olegtarasov commented on May 25, 2024

Closing due to inactivity.

from fasttext.netwrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.