[MonoDevelop] Moonlight library
inb at ncipher.com
Wed Jun 15 13:16:18 EDT 2011
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 <timwylie at hotmail.com> 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:
<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" EntryPointAssembly="FrechetApp" EntryPointType="FrechetApp.App" RuntimeVersion="2.0.31005.0">
<AssemblyPart x:Name="FrechetApp" Source="FrechetApp.dll" />
<AssemblyPart x:Name="MolecularReader" Source="MolecularReader.dll" />
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:
MolecularReader.Molecule m = new MolecularReader.Molecule(fileStream);
> 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?
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> tim wylie wrote:
> 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.
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodevelop-list