[MonoDevelop] Moonlight library
tim wylie
timwylie at hotmail.com
Wed Jun 15 12:58:28 EDT 2011
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">
<Deployment.Parts>
<AssemblyPart x:Name="FrechetApp" Source="FrechetApp.dll" />
<AssemblyPart x:Name="MolecularReader" Source="MolecularReader.dll" />
</Deployment.Parts>
</Deployment>
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?
> --
> 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
More information about the Monodevelop-list
mailing list