I tried creating a sample solution with a similar setup referencing
the project from the SharpZLib source code found on sourceforge, and
it works just fine. So your path is probably incorrect?

My reference look like this:
<ItemGroup>
    <ProjectReference
Include="..\..\..\Downloads\SharpZipLib_0860_SourceSamples\src\ICSharpCode.SharpZLib.csproj">
      <Project>{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}</Project>
      <Name>ICSharpCode.SharpZLib</Name>
    </ProjectReference>
  </ItemGroup>

On Wed, May 16, 2012 at 9:28 AM, Hänke, Maik <hae...@initions.com> wrote:
> 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



-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to