Bug 37872 - Win7: libgtk-win32-2.0-0.dll
Summary: Win7: libgtk-win32-2.0-0.dll
Status: NEW
Alias: None
Product: Gtk#
Classification: Mono
Component: gtk-sharp ()
Version: 2.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-01-21 14:04 UTC by CodeArtist
Modified: 2016-01-21 14:04 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

GTK# Project Failed to Run (11.85 KB, image/png)
2016-01-21 14:04 UTC, CodeArtist

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 37872 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description CodeArtist 2016-01-21 14:04:03 UTC
Created attachment 14657 [details]
GTK# Project Failed to Run

GTK# 2.12: 
- Project failed to run in debug mode with System.DllNotFoundException with message libgtk-win32-2.0-0.dll not found.
- Compiled application crashed, not loaded properly.

Found that it was due to PATH Settings in Environmental Variables... where it seems like GTK# unable to find its dependency when I have the path "C:\Program Files(x86)\GtkSharp\2.12\bin" appended at the end of my machine's PATH variable which is 843 bytes long.

The problems goes away when I moved the GtkSharp bin folder to the front of the entire PATH variable, where:
PATH = C:\Program Files(x86)\GtkSharp\2.12\bin;<Some other pahts>...

Is there a limitation of path length supported by GTK# library?