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

Could not run the DLL using Dotnet #8

Open
N0ise1337 opened this issue Nov 10, 2019 · 1 comment
Open

Could not run the DLL using Dotnet #8

N0ise1337 opened this issue Nov 10, 2019 · 1 comment

Comments

@N0ise1337
Copy link

Hey,
I used to build the solution, tried to run the DLL via dotnet CloudSolverRe.dll but it didnt work, showed me up that error:
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\Users\x\Desktop\CloudflareSolverRe-master\test\CloudflareSolverRe.Tests\bin\Debug\netcoreapp2.1'.
Failed to run as a self-contained app. If this should be a framework-dependent app, add the C:\Users\x\Desktop\CloudflareSolverRe-master\test\CloudflareSolverRe.Tests\bin\Debug\netcoreapp2.1\CloudflareSolverRe.runtimeconfig.json file specifying the appropriate framework.
Is there any solution for that?
Thanks in advance

@RyuzakiH
Copy link
Owner

RyuzakiH commented Nov 28, 2019

Sorry for late reply, it's a library and a library cannot be published alone.
I think you have to reference it in any executable project.
I tried publishing a project that used its nuget package and it works 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

2 participants