I've searched thru the forums but cannot find a solution. I've copied the templates over, I've attempted to remove and reload the references, but they do not show up in the .net tab. So, I set the "specific version" property for each reference to "false" and this seems to work. I've set platform target to "x86". When I attempt to run the program, a window runs, with the title of Form1, but it is just white, no 3d. And I cannot close it except for task manager. When I do that, I get this error:
System.TypeInitializationException was unhandled
Message=The type initializer for 'DarkGDK.Engine' threw an exception.
Source=DarkGDK
TypeName=DarkGDK.Engine
StackTrace:
at DarkGDK.Engine.StopGDKLoop()
at DarkGDKApplication1.fMain.fMain_FormClosed(Object sender, FormClosedEventArgs e) in C:\Users\Mike\Documents\Visual Studio 2010\Projects\DarkGDKApplication2\DarkGDKApplication2\fMain.cs:line 41
at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at DarkGDKApplication1.Program.Main() in C:\Users\Mike\Documents\Visual Studio 2010\Projects\DarkGDKApplication2\DarkGDKApplication2\Program.cs:line 18
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
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: System.IO.FileLoadException
Message=Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
Source=DarkGDK
StackTrace:
at DarkGDK.Engine..cctor()
InnerException:
any ideas what I am doing wrong?
thanks
edit:
This is getting major frustrating. The .exe's run from the tutorials. I downloaded VS2008 c# express, and I get the EXACT SAME ERRORS. not a happy person right now.
edit again:
well, I'm beginning to think this was 30 bucks flushed down the toilet. But I'm a patient person(kinda) and, I'm hoping all these issues get worked out. For comparison, XNA installed and ran, no problems. The Kinect SDK, no problems. Even slimDX, no problems. And they are all free. Just saying, if your going to continue selling this, and I know times are tuff right now for the developer, but still, I think the targets should be Win7 from now on.