Answer the question
In order to leave comments, you need to log in
Running .Net Core apps?
I compile a .NET Core project and get Example.dll and Example.runtimeconfig.json as output.
The problem is that the command dotnet Example.dll
starts the application only if there is an Example.runtimeconfig.json file in the same directory, otherwise it throws an error:
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\Users\Admin\Desktop\'.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question