Problems after upgrade from a .NET Compact Framework 2.0

Asked By 25 points N/A Posted on -
qa-featured

I tried to lift up my CF2.0(VS2005) Application to to CF 3.5(VS2008.Compilation was successful. When I try to run it I receive a Invalid Program Exception on startup. The exception is thrown when I try to set a Data grid as owner of a Data Grid Text Box Column. <– strange I used PEVerify from Windows 7.0a SDK and got several errors.

[MD]: Error: TypeRef has a duplicate, token=0x01000111. [Token:0x010000C4]

[MD]: Error: TypeRef has a duplicate, token=0x0100005c. [Token:0x010000CA]

SHARE
Answered By 5 points N/A #187093

Problems after upgrade from a .NET Compact Framework 2.0

qa-featured

Hello,

 

Your problem may be the result of merging libraries or you may have an issue with your DataGrid. If you merged .dll files, recompile and do not repeat the merge. If that is not your issue, perform the following steps:

 

  1. Navigate to the form.

  2. Note the name of the DataGrid and then delete it.

  3. Navigate to the toolbox.

  4. Name the DataGrid using the original DataGrid name.

  5. Attempt to perform your original task.

Related Questions