I have written a simple "Hellow World" VBScript windows application to run on WinCE6.0. The application was built with the "Any CPU" option. It runs fine on the XP host. However, I am getting a MissingMethodException. I have made sure that the Sysgen variables for .NET Compact Framework 2.0, and the VBScript engine (SYSEN_IE_VBSCRIPT) and MSGBOX (SYSGEN_VBSCRIPT_MSGBOX), are enabled in the target image (NK.bin).
The error I get is:
File or assembly name
or one of the dependencies, was not
Here is my code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
What's missing in the code or what else needs to be enabled for Sysgen?