[MonoDevelop] Moonlight library

tim wylie timwylie at hotmail.com
Wed Jun 15 14:25:14 EDT 2011


Wow!  My constructor wasn't public!  Thanks for the help.  I can't believe I missed that.
Tim

________________________________
> Subject: Re: [MonoDevelop] Moonlight library
> From: inb at ncipher.com
> Date: Wed, 15 Jun 2011 19:00:53 +0100
> To: timwylie at hotmail.com; monodevelop-list at lists.ximian.com
>
> Hmm, maybe,
>
> Might be a silly question but are your classes public?
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>
> tim wylie wrote:
>
> If I run it in the debug folder of FrechetApp I get:
>
> Assembly Information:
> MolecularReader
> Version=0.0.0.0
> Culture=neutral
> PublicKeyToken=null
>
>
> Total: 0 types.
>
> Does this mean the library isn't building correctly?
> Tim
>
> ________________________________
>
> > Subject: Re: [MonoDevelop] Moonlight library
> > From: inb at ncipher.com
> > Date: Wed, 15 Jun 2011 18:16:18 +0100
> > To: timwylie at hotmail.com; monodevelop-list at lists.ximian.com
> >
> > What do you see if you run "monop -r:MoleculeReader.dll"?
> > --
> > Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> >
> > tim wylie wrote:
> >
> > The exact error is:
> >
> > /home/timwylie/Projects/FrechetApp/FrechetApp/Page.xaml.cs(49,49): Error CS0234: The type or namespace name `Molecule' does not exist!
> in the
> namespace `MolecularReader'. Are you missing an assembly reference? (CS0234) (FrechetApp)
> >
> > And the appmanifest.xaml file:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Also, I know the code works because originally I had all the files just under the FrechetApp project when testing, then I moved the code for Molecule into a library. The offending line is this:
> > using MolecularReader;
> > ...
> > MolecularReader.Molecule m = new MolecularReader.Molecule(fileStream);
> >
> > Thanks again
> > Tim
> >
> >
> ________________________________
>
> >
> > > Subject: Re: [MonoDevelop] Moonlight library
> > > From: inb at ncipher.com
> > > Date: Wed, 15 Jun 2011 06:39:04 +0100
> > > To: timwylie at hotmail.com
> > >
> > > Can you give the exact error message?
> > >
> > > Can you also show us your appmanifest.xaml file?
> &!
> gt; >
> --
> > > Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> > >
> > > tim wylie wrote:
> > >
> > > Hello,
> > > I'm getting an error I can not resolve. I have set up a Moonlight solution with two projects: one is an application and one is a !
> > library.
> > The library builds fine and I added the library project to the application references, and then put the correct "using " to access the library. The autocomplete even recognizes the namespace and the class I'm trying to instantiate, but the application won't build giving the error
> > > that the class is not part of the namespace. I've played with this all day, and can't figure out what's wrong. I double checked that I created a moonlight library and not a standard C# library. If you have an advice I'd be very grateful. Thank you.
> > > Tim
> > >
> > >
> >
> ________________________________
>
> >
> > >
> >!
> >
> Monodevelop-list mailing list
> > > Monodevelop-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
> >
> ________________________________
>
> >
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
> ________________________________
>
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
 		 	   		  


More information about the Monodevelop-list mailing list