Help getting a wiimote C# project running?
rwgast_logicdesign
Posts: 1,464
So im trying to experemint with some wiimotes before I go tearing them up! I cant get any of the C# code working in 2010 express. I keep getting this error
System.IO.FileLoadException was unhandled
Message=Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
Source=mscorlib
StackTrace:
at System.Reflection.RuntimeAssembly.GetEntryPoint(RuntimeAssembly assembly, ObjectHandleOnStack retMethod)
at System.Reflection.RuntimeAssembly.get_EntryPoint()
at Microsoft.VisualStudio.HostingProcess.HostProc.GetEntryPointAptThreadState(String assemblyFile)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunParkingWindowThread()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
I build solution everythings fine, then I hit play and get this
The project im trying to get working is the first one on this page http://johnnylee.net/projects/wii/ "tracking fingers with wiimote. I figured itd be easy for my just to light up an ir LED and this code would track it but I cant get the darn thing to run in VC# 2010 express. Im hoping someone who has a little c# expertise can tell me whats wrong here, I do have the directx sdk installed that he links too also.
System.IO.FileLoadException was unhandled
Message=Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
Source=mscorlib
StackTrace:
at System.Reflection.RuntimeAssembly.GetEntryPoint(RuntimeAssembly assembly, ObjectHandleOnStack retMethod)
at System.Reflection.RuntimeAssembly.get_EntryPoint()
at Microsoft.VisualStudio.HostingProcess.HostProc.GetEntryPointAptThreadState(String assemblyFile)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunParkingWindowThread()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
I build solution everythings fine, then I hit play and get this
The project im trying to get working is the first one on this page http://johnnylee.net/projects/wii/ "tracking fingers with wiimote. I figured itd be easy for my just to light up an ir LED and this code would track it but I cant get the darn thing to run in VC# 2010 express. Im hoping someone who has a little c# expertise can tell me whats wrong here, I do have the directx sdk installed that he links too also.
Comments