presencelight: Error when attempting to run Blazor version on a Mac
When I attempt to run the Blazor version 2.0.82 on Mac OS 10.14.6, I’m encountering the following error:
A fatal error was encountered. The library 'libhostpolicy.dylib' required to execute the application was not found in '/Users/xxx/2.0.82_macOS/'. Failed to run as a self-contained app.
To launch it, I’m running dotnet PresenceLight.exe
- I added the .exe extension to the executable since running ‘dotnet PresenceLight’ returned the following error:
Could not execute because the specified command or file was not found.
Possible reasons for this include:
* You misspelled a built-in dotnet command.
* You intended to execute a .NET program, but dotnet-PresenceLight does not exist.
* You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
In case it’s helpful, here’s the output from dotnet --info
.NET SDK (reflecting any global.json):
Version: 5.0.100-preview.6.20318.15
Commit: 4356580024
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.14
OS Platform: Darwin
RID: osx.10.14-x64
Base Path: /usr/local/share/dotnet/sdk/5.0.100-preview.6.20318.15/
Host (useful for support):
Version: 5.0.0-preview.6.20305.6
Commit: 4ba9ecaabd
.NET SDKs installed:
3.1.301 [/usr/local/share/dotnet/sdk]
5.0.100-preview.6.20318.15 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.0-preview.6.20312.15 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.0-preview.6.20305.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Any pointers on what I might be doing wrong?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (9 by maintainers)
It worked on a friends Mac, but that was months ago. Looks like I need to test 😃
On Wed, Jul 8, 2020 at 12:26 PM Gordon Kennedy notifications@github.com wrote: