[mono-android] Load resources on a custom library
Jonathan Pryor
jpryor at novell.com
Thu Mar 17 11:16:34 EDT 2011
On Mar 17, 2011, at 10:59 AM, Amir Waldman wrote:
> That would create a circular reference.
>
> The class library is being referenced by the main assembly and is used by
> other assemblies as well.
I didn't say to reference the _assembly_. I said to reference the _source_. For example, in Library.csproj:
<ItemGroup>
<Compile Include="..\AppProject\Resources\Resources.Designer.cs">
<Link>Resources\Resources.Designer.cs</Link>
</Compile>
</ItemGroup>
The compiler doesn't care about "circular references" for source code.
- Jon
More information about the Monodroid
mailing list