[Banshee-List] Cannot compile with ipod-sharp
- From: "Антон Епишев" <epishew gmail com>
- To: banshee-list gnome org
- Subject: [Banshee-List] Cannot compile with ipod-sharp
- Date: Sun, 16 Sep 2007 19:13:05 +0400
Hello,
I'm new to your list so sorry if i break some rules.
I've got little problem. I've installed libipod-cil in my Ubunty and
tried to compile little application with ipod-sharp.dll.
Here it is:
----------------
using System;
using IPod;
namespace iPodEXO
{
class MainClass
{
public static void Main(string[] args)
{
Device pod = new Device("/media/POD");
}
}
}
------------------
IDE i've used is MonoDevelop. The compilers output is:
Exception caught by the compiler while compiling:
Block that caused the problem begin at:
/home/n013e/Projects/iPodEXO/Main.cs(9,22):
System.TypeLoadException: Could not load type
'System.Collections.Generic.Dictionary`2' from assembly 'mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
** (/usr/lib/mono/1.0/mcs.exe:5184): WARNING **: The class
System.Collections.Generic.Dictionary`2 could not be loaded, used in
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
Unhandled Exception: System.TypeLoadException: Could not load type
'System.Collections.Generic.Dictionary`2' from assembly 'mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at <0x00000> <unknown method>
at Mono.CSharp.VariableInfo..ctor (Mono.CSharp.LocalInfo local_info,
Int32 offset) [0x00000]
at Mono.CSharp.VariableMap..ctor (Mono.CSharp.VariableMap parent,
Mono.CSharp.LocalInfo[] locals) [0x00000]
at Mono.CSharp.VariableMap..ctor (Mono.CSharp.LocalInfo[] locals) [0x00000]
at Mono.CSharp.Block.ResolveMeta (Mono.CSharp.ToplevelBlock
toplevel, Mono.CSharp.EmitContext ec, Mono.CSharp.Parameters ip)
[0x00000]
at Mono.CSharp.ToplevelBlock.ResolveMeta (Mono.CSharp.EmitContext
ec, Mono.CSharp.Parameters ip) [0x00000]
at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext
anonymous_method_host, Mono.CSharp.ToplevelBlock block,
Mono.CSharp.Parameters ip, IMethodData md, System.Boolean&
unreachable) [0x00000]
Can anybody help me to make things work?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]