This project is read-only.

Error

Jun 16, 2012 at 11:31 PM

When I'm trying to compile my code, I am getting this error:

Error 1 'this' type cannot be an interface itself.   at System.RuntimeTypeHandle.VerifyInterfaceIsImplemented(RuntimeTypeHandle handle, RuntimeTypeHandle interfaceHandle)   at System.RuntimeType.GetInterfaceMap(Type ifaceType)   at Cosmos.IL2CPU.ILScanner.ScanType(Type aType) in c:\Users\Joe\Desktop\cosmos-92274\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 946   at Cosmos.IL2CPU.ILScanner.ScanQueue() in c:\Users\Joe\Desktop\cosmos-92274\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 974   at Cosmos.IL2CPU.ILScanner.Execute(MethodBase aStartMethod) in c:\Users\Joe\Desktop\cosmos-92274\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 322   at Cosmos.Build.MSBuild.IL2CPUTask.Execute() in c:\Users\Joe\Desktop\cosmos-92274\source2\Build\Cosmos.Build.MSBuild\IL2CPUTask.cs:line 231 C:\Program Files\MSBuild\Cosmos\Cosmos.targets 32 10 myOSboot

What does it mean and how can I fix it?  (Latest Cosmos release, Visual studio 2010 premium)

Jun 17, 2012 at 8:19 AM

are you using interfaces? That's not supported.

Op 17 jun. 2012 00:32 schreef "awesomedoode" <notifications@codeplex.com> het volgende:

From: awesomedoode

When I'm trying to compile my code, I am getting this error:

Error 1 'this' type cannot be an interface itself. at System.RuntimeTypeHandle.VerifyInterfaceIsImplemented(RuntimeTypeHandle handle, RuntimeTypeHandle interfaceHandle) at System.RuntimeType.GetInterfaceMap(Type ifaceType) at Cosmos.IL2CPU.ILScanner.ScanType(Type aType) in c:\Users\Joe\Desktop\cosmos-92274\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 946 at Cosmos.IL2CPU.ILScanner.ScanQueue() in c:\Users\Joe\Desktop\cosmos-92274\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 974 at Cosmos.IL2CPU.ILScanner.Execute(MethodBase aStartMethod) in c:\Users\Joe\Desktop\cosmos-92274\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 322 at Cosmos.Build.MSBuild.IL2CPUTask.Execute() in c:\Users\Joe\Desktop\cosmos-92274\source2\Build\Cosmos.Build.MSBuild\IL2CPUTask.cs:line 231 C:\Program Files\MSBuild\Cosmos\Cosmos.targets 32 10 myOSboot

What does it mean and how can I fix it? (Latest Cosmos release, Visual studio 2010 premium)

Read the full discussion online.

To add a post to this discussion, reply to this email (Cosmos@discussions.codeplex.com)

To start a new discussion for this project, email Cosmos@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com