Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix Previewer GitHub Release download for macOS

See original GitHub issue
It was not possible to find any compatible framework version
The framework 'Microsoft.WindowsDesktop.App', version '3.1.0' was not found.
  - No frameworks were found.

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:

WinForms is only available on windows (note that .NET 6 will have a cross-platform GUI)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:28 (13 by maintainers)

github_iconTop GitHub Comments

Auburncommented, Feb 28, 2021

You can try running this command to publish, it should bundle it as a .app

dotnet publish .\FastNoiseLiteGUI.csproj -c Release -r osx-x64 --self-contained

Zorgatonecommented, Feb 28, 2021

@Auburn is the new binary without an extension?

I tried this two ways and didn’t work:

 ~/Downloads  dotnet ./FastNoiseLiteGUI-OSX64                                                                                                         ✔  6611  13:02:52
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-./FastNoiseLiteGUI-OSX64 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.
 ~/Downloads  ./FastNoiseLiteGUI-OSX64                                                                                                              1 ↵  6612  13:03:01
zsh: permission denied: ./FastNoiseLiteGUI-OSX64
 ~/Downloads  chmod +x FastNoiseLiteGUI-OSX64                                                                                                     126 ↵  6613  13:03:06
 ~/Downloads  ./FastNoiseLiteGUI-OSX64                                                                                                                ✔  6614  13:03:10
[1]    4972 killed     ./FastNoiseLiteGUI-OSX64
 ~/Downloads  ./FastNoiseLiteGUI-OSX64                                                                                                     SIGKILL(9) ↵  6615  13:03:31
Unhandled exception. System.InvalidOperationException: Could not detect platform. Are you missing a platform assembly?
 ---> System.InvalidOperationException: Platform type 'Eto.Mac.Platform, Eto.Mac64' was loaded but is not valid in the current context.  E.g. Mac platforms require to be in an .app bundle to run
   --- End of inner exception stack trace ---
   at Eto.Platform.get_Detect()
   at Eto.Forms.Application..ctor()
   at Program.Main(String[] args)
[1]    5889 abort      ./FastNoiseLiteGUI-OSX64
Read more comments on GitHub >

github_iconTop Results From Across the Web

frhd/macOS-Preview9.0: Make Preview great again
If you download Preview 9.0 here, it is compatible with macOS Mojave (10.14) and macOS Catalina (10.15). If Preview 9.0 cannot be opened,...
Read more >
QL-Win/QuickLook: Bring macOS “Quick Look” feature to ...
Bring macOS “Quick Look” feature to Windows. ... Download/Installation ... Microsoft Store (Windows 10 users only, no preview in open/save-dialogs ...
Read more >
net8 preview 5 not working with latest visual studio for Mac
Download and install latest Visual Studio for Mac; Download and install .net8 preview 5 SDK; Install MAUI workloads; Run Visual Studio for ...
Read more >
Quick Look extension for highlight source code files ...
Download precompiled release. Head over to the releases page to view the latest version. Move Syntax into the Applications folder.
Read more >
NET 8.0.0 Preview 3 -April 11, 2023
NET SDK 8.0.100-preview.3.23178.7 releases are available for download. The latest 8.0 release is always listed at .NET 8.0 Releases.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found