A
A
Andrey Golubkov2017-08-16 20:49:57
linux
Andrey Golubkov, 2017-08-16 20:49:57

How to run .net core WebApi on Debian?

When launching the release version, it writes the following error:

[email protected]:~/webapi/webApi/bin/Release/netcoreapp1.0/publish$ dotnet webApi.dll

A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/home/andrey/webapi/webApi/bin/Release/netcoreapp1.0/publish/'.

How it is possible to start it?
PS: Production server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Afonchenko, 2017-08-17
@Android97

If I'm not mistaken, this problem was solved in .net core version 1.1
https://github.com/dotnet/cli/issues/5059
As a last resort, there is a description of an approximate solution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question