Bug 37308 - error compile gtk#
Summary: error compile gtk#
Status: NEW
Alias: None
Product: Gtk#
Classification: Mono
Component: gtk-sharp ()
Version: 2.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-12-28 19:37 UTC by Misha
Modified: 2015-12-28 19:37 UTC (History)
1 user (show)

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

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 37308 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:
Status:
NEW

Description Misha 2015-12-28 19:37:24 UTC
GTK# error compile
Mono version 4.2.1
Prepending 'C:\Program Files\Mono\bin\' to PATH

OS Windows 10 x32 build 1151
pkg:dotnet good work

log:

E:\mono>mcs gtkhelo.cs -pkg:gtk-sharp-2.0
error CS2001: Source file `Files/Mono/lib/gtk-sharp-2.0/pango-sharp.dll' could not be found
error CS2001: Source file `Files/Mono/lib/gtk-sharp-2.0/atk-sharp.dll' could not be found
error CS2001: Source file `Files/Mono/lib/gtk-sharp-2.0/gdk-sharp.dll' could not be found
error CS2001: Source file `Files/Mono/lib/gtk-sharp-2.0/gtk-sharp.dll' could not be found
error CS2001: Source file `Files/Mono/lib/gtk-sharp-2.0/glib-sharp.dll' could not be found
Compilation failed: 5 error(s), 0 warnings

E:\mono>type gtkhelo.cs
using Gtk;
using System;

class Hello
{
    static void Main ()
    {
        Application.Init ();

        Window window = new Window ("Hello Mono World");
        window.Show ();

        Application.Run ();
    }
}
E:\mono>dir "C:\Program Files\Mono\lib\gtk-sharp-2.0"
 Volume in drive C has no label.
 Volume Serial Number is 82A6-45FC

 Directory of C:\Program Files\Mono\lib\gtk-sharp-2.0

22.12.2015  22:17    <DIR>          .
22.12.2015  22:17    <DIR>          ..
17.11.2015  06:00           186 368 atk-sharp.dll
17.11.2015  06:00           585 216 atk-sharp.pdb
17.11.2015  06:00           241 664 gdk-sharp.dll
17.11.2015  06:00           873 984 gdk-sharp.pdb
17.11.2015  06:00            33 792 glade-sharp.dll
17.11.2015  06:00           132 608 glade-sharp.pdb
17.11.2015  06:00            93 696 glib-sharp.dll
17.11.2015  06:00           341 504 glib-sharp.pdb
17.11.2015  06:00             5 632 gtk-dotnet.dll
17.11.2015  06:00            13 824 gtk-dotnet.pdb
17.11.2015  06:00         1 399 808 gtk-sharp.dll
17.11.2015  06:00            97 280 pango-sharp.dll
17.11.2015  06:00           439 808 pango-sharp.pdb
              13 File(s)      4 445 184 bytes
               2 Dir(s)  88 594 063 360 bytes free

E:\mono>