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
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.
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