You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expect required library libhostpolicy.dylib to be present in [/private/tmp/runnable/bin/Debug/netcoreapp1.0]
- This may be because of an invalid .NET Core FX configuration in the directory.
Workaround
Add a top-level build option with emitEntryPoint = true (and override in other TFMs buildOptions/emitEntryPoint = false).
.NET Command Line Tools (1.0.0-preview1-002702)
Product Information:
Version: 1.0.0-preview1-002702
Commit Sha: 6cde21225e
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.11
OS Platform: Darwin
RID: osx.10.11-x64
The text was updated successfully, but these errors were encountered:
This workaround worked for me. I created a solution in .NET Core, Created a new project repository for classes that referenced an interface inside the original solution. Found main causing problems, set the emitEntryPoint to false, and the dependencyName : target: project parameters... now my solution works...
Steps to reproduce
dotnet run
Expected behavior
"Hello world"
Actual behavior
App is not runnable.
dotnet run
dies withWorkaround
Add a top-level build option with emitEntryPoint = true (and override in other TFMs buildOptions/emitEntryPoint = false).
Environment data
dotnet --info
output:The text was updated successfully, but these errors were encountered: