[mono-vb] Assembly not valid for Mono .NET 3.5 (in Mono 2.10.5)

Rolf Bjarne Kvinge rolf at xamarin.com
Mon Sep 26 04:45:34 EDT 2011


Hi,

I just tried it (with MonoDevelop 2.8 beta and mono 2.10.5 on a Mac)
and the template project compiled fine. Can you try changing the
target framework of the project (right-click project, Options,
Build/General, Target Framework) and see if something changes?

Rolf

On Sun, Sep 25, 2011 at 7:28 PM, nf <nf at el0.me> wrote:
> Hi all.
>
> New to Mono but not VB.NET.  I thought I would have a play and have
> installed mono develop, mono, and the vb.net compiler option.  I have also
> made sure that GTK-sharp is installed
>
> However, when I create a new vbNET GTK 2.0 solution, before writing a line
> of code if I hit Build All I get a "The import GTK could not be found"
>
> Under References, all the references show as :
>
>  Assembly not valid for Mono .NET 3.5 (in Mono 2.10.5)
>
> If I try the same thing with a C# GTK project and hit run, I get the
> expected blank form.  And the references look the same, but not Red and
> showing errors this time.
>
> Sorry, should this work?
>
> I have searched but can not find anything similar.
>
> I am using :
>
> monoDevelop 2.6.0.0
> Mono JIT compiler version 2.10.5 (Debian 2.10.5-1)
>
> Thanks
>
> nf
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Assembly-not-valid-for-Mono-NET-3-5-in-Mono-2-10-5-tp3841755p3841755.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
>


More information about the Mono-vb mailing list