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

.NET Core support (and Linux and macOS) #35

Open
promontis opened this issue Aug 29, 2020 · 2 comments
Open

.NET Core support (and Linux and macOS) #35

promontis opened this issue Aug 29, 2020 · 2 comments
Assignees

Comments

@promontis
Copy link

AFAIK SketchUpNET only works on Windows right? You are using a vcxproj project, that has C++ sources.

This articles discusses how to port a C++ project to .NET Core: https://docs.microsoft.com/en-us/dotnet/core/porting/cpp-cli. However, it notes that C++/CLI support for .NET Core is Windows only. Support for macOS or Linux isn't probably to come (for a long time).

They recommend using platform invoke to support .NET core. What's your view on this? Do you have any plans on making it work for .NET Core (and thereby Linux and macOS)?

@moethu
Copy link
Owner

moethu commented Aug 29, 2020

Good idea, I'll give it a try but I doubt that the SkechUp C++ API (slapi) will work on dotnetcore.

@moethu
Copy link
Owner

moethu commented Jan 18, 2022

Just checked this one again, currently there is no planned support of C++/CLI for linux mac in any near future. One option would be to get rid of C++/CLI and use Pinvoke instead. Would be a larger rewrite but could be worth it. I'd first try a simple implementation, eg. reading one vertex to see if the SketchUp C API works in Linux.

@moethu moethu self-assigned this Jan 18, 2022
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