Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not running on macOS Big Sur ( x86_64 ) - solved #46

Closed
u3dreal opened this issue Jan 13, 2022 · 0 comments
Closed

Not running on macOS Big Sur ( x86_64 ) - solved #46

u3dreal opened this issue Jan 13, 2022 · 0 comments

Comments

@u3dreal
Copy link

u3dreal commented Jan 13, 2022

i had the same issue as here https://github.com/Zarbuz/FileToVox/issues/40

Creating a FileToFox.runtimeconfig.json did not help.

It works for me when i compile from source

dotnet build

and then after editing FileToVox.runtimeconfig .json in the Release build folder

Adding
{ "runtimeOptions": { "configProperties": { "System.Drawing.EnableUnixSupport": true } } }

to the runtimeOptions and then running dotnet publish

dotnet publish -r osx-x64 -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true

That leaves me with a published folder like in the release download "WITH" a FileToVox.runtimeconfig.json file
and all works flawless.

For anyone interested you can download a working version here.http://q3de.com/research/magicavoxel/

I'm sure there is a better place for disscussion -- let me know.

Link to issue on MS
https://docs.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants