[Gtk-sharp-list] Ubuntu: Warning: The reference 'atk-sharp, Version=184.108.40.206, Culture=neutral, PublicKeyToken=35e10195dab3c99f' is not valid for the target framework of the project.
m.j.hutchinson at gmail.com
Sat May 29 00:31:21 EDT 2010
On Thu, May 27, 2010 at 8:51 PM, p66raptor <p66raptor at gmail.com> wrote:
> The process for creating the solution:
> C# is selected and I select GTK # 2.0 project
> Add name of test and make sure the option to create the sub dir is selected.
> Click Forward.
> In the new solution window I am choosing Unix Integration and this has the
> Generate launch script selected.
> In this window, there are no options in the Target GTK# Version Number drop
> Click OK.
> This throws up a Mono Develop dialog with these details:
> System.ArgumentException: value
> at MonoDevelop.GtkCore.ReferenceManager.set_GtkPackageVersion
> (System.String value) [0x00000]
> at MonoDevelop.GtkCore.Dialogs.GtkProjectFeature.ApplyFeature
> (MonoDevelop.Projects.SolutionFolder parentCombine,
> MonoDevelop.Projects.SolutionItem entry, Gtk.Widget editor) [0x00000]
> at MonoDevelop.Ide.Gui.Dialogs.CombineEntryFeatureSelector.ApplyFeatures
> () [0x00000]
> I click OK and then the references show with errors and the project is
> I figured it out. No more time needed. I did not have GTK # installed. I
> did not realize it was a separate installation. Once I installed the
> GTK-sharp from the synaptic manager it worked fine. THANK YOU FOR THE HELP.
> I hope this post can help some other person that hasn't a clue!
Hm, sounds like an issue with the Ubuntu packages. GTK# should always
be present on a system with MonoDevelop - MD itself is a GTK# app.
This probably has something to do with the way Ubuntu splits Mono
packages into lots of little bits. My guess is that they moved the
pkg-config files - which MD uses to discover assemblies at
compile-time - into a separate packages.
More information about the Gtk-sharp-list