.NET Core support on Linux
See original GitHub issueCurrently VulkanCore works on Linux systems when run under Mono. Running under .NET Core does not work because there is no elegant way to forward Platform Invoke calls from vulkan-1.dll
to vulkan.so
.
https://github.com/dotnet/coreclr/issues/930
It shouldn’t be too big of an issue at the moment since Xamarin and more popular Linux .NET GUI systems are all still Mono based.
Possible workaround to support .NET Core on Linux would be to duplicate all the Platform Invoke methods (DllImport
) to include both vulkan-1.dll
and vulkan.so
variants and choose appropriate method call at runtime based on current platform. The downside is that it adds a lot of boilerplate to the source and potentially adds a minor performance cost.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Install .NET on Linux distributions
Best effort support is offered from Microsoft when downloaded from elsewhere. You can open issues at dotnet/core if you run into problems.
Read more >Install the .NET SDK or the .NET Runtime on Ubuntu
NET on Ubuntu. The Microsoft package repository contains every version of .NET that is currently, or was previously, supported on Ubuntu.
Read more >Hello World .NET Core On Linux
.NET Core is compatible with Ubuntu.This article describes how to install .NET Core on Ubuntu. When a version of Ubuntu is no longer...
Read more >How To Deploy .Net Core Application On Linux
Step 1 - Publish your .Net Core application · Right Click on your project · Click on publish · Now create a new...
Read more >linux-support.md - dotnet/core
NET Support and Compatibility for Linux Distributions .NET is supported by Microsoft and by various commercial vendors and the community on multiple Linux...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s such a horrible workaround, but hey, if they can’t get organised about DllMap…
Another potential solution which may allow the usage of
DllImport
in a cross-platform manner: https://github.com/dotnet/coreclr/issues/930#issuecomment-328542896