I'm using project references. In my project file the reference looks like this:
<ProjectReference Include="..\ICSharpCode.SharpZLibMobile\ICSharpCode.SharpZLibMobile.csproj"> <Project>{65BB08BD-4525-473C-BAC3-F1796175528A}</Project> <Name>ICSharpCode.SharpZLibMobile</Name> </ProjectReference> -----Ursprüngliche Nachricht----- Von: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] Im Auftrag von Jonathan Pryor Gesendet: Dienstag, 15. Mai 2012 19:11 An: Discussions related to Mono for Android Betreff: Re: [mono-android] Exception while loading assembly On May 15, 2012, at 4:06 AM, Hänke, Maik wrote: > I updated monodroid from 4.0.6 to 4.2.1 and can't build the solution anymore. > > I've got the following error: > Exception while loading assemblies: System.IO.FileNotFoundException: Could > not load assembly 'ICSharpCode.SharpZLibMobile, Version=0.85.5.452, > Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for > Android profile? I'm guessing that your .csproj has: <Reference Include="ICSharpCode.SharpZLibMobile, Version=0.85.5.452, Culture=neutral, PublicKeyToken=" /> We don't know how to resolve that assembly reference. Instead, use something like: <Reference Include="ICSharpCode.SharpZLibMobile"> <HintPath>Path\To\ICSharpCode.SharpZLibMobile.dll</HintPath> </Reference> or use a Project reference if the ICSharpCode.SharpZLibMobile project is in the same solution. - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid