Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

DllNotFoundException on Application.Init for dotnet core package on MacOS X #227

Closed
myrup opened this issue Mar 31, 2018 · 4 comments
Closed

Comments

@myrup
Copy link

myrup commented Mar 31, 2018

Hey.

I'm running dotnet core 2.1 preview 1. After adding the latest gtk-sharp nuget, the application fails with a DllNotFoundException on Application.Init(). Is the package not expected to be self-contained and include the necessary dependencies? If not, I am missing information on what to install on MacOSX ?

The same app runs out of the box on Raspbian :)

@hbons
Copy link

hbons commented Mar 31, 2018

Are you building it from source? You'll need to install the Xamarin.Mac extension from the Extensions window in Visual/Xamarin Studio.

@myrup
Copy link
Author

myrup commented Mar 31, 2018

Building what from source? All I did was add the nuget package. I have the Xamarin.Mac extension installed.

@myrup myrup changed the title DllNotFoundException on Application.Init for dotnet package on MacOS X DllNotFoundException on Application.Init for dotnet core package on MacOS X Mar 31, 2018
@myrup
Copy link
Author

myrup commented Apr 12, 2018

Any ideas? I would expect the nuget to contain dependencies (or at least warn if other actions are needed).

I ran brew install gtk+, but still no luck :/

@myrup
Copy link
Author

myrup commented Apr 13, 2018

I release now this repo is stale and seems replaced by https://github.com/GtkSharp/GtkSharp .
Closing.

@myrup myrup closed this as completed Apr 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants