Compact Framework: Failed to use InputPanel in control

I developed a control that uses PDA InputPanelto interact with the user. The relevant part of the code is given below:

namespace MyNamespace
{
     // ...
     using Microsoft.WindowsCE.Forms;
     // ...

     public class MyControl
     {
         // ...
         public InputPanel MyPanel { get; set; }
         // ...
     }
}

Whenever I try to drag Controlin Form, I get the following error:

System.IO.FileNotFoundException: it is possible not to load the file or assembly "Microsoft.WindowsCE.Forms, Version = 2.0.0.0, Culture = neutral,
PublicKeyToken = 969db8053d3322ac or one of its dependencies. The system cannot find the specified file. File name:" Microsoft .WindowsCE.Forms, Version = 2.0.0.0, Culture = Neutral, PublicKeyToken = 969db8053d3322ac

InputPanel MyControl, Form - . Control , .

Control , , , Form .

Visual Studio 2008 SP1 SDK Windows Mobile 6.


, : - ?


: . IInputPanel, getteran. , XMTA.

+3
1

, SIP ( ), . DesktopCompatible XMTA false.

EDIT: , . DesktopCompatible , - , ( , , , CE), . Environment.OSVersion.Platform , , , , .

+3

Source: https://habr.com/ru/post/1706100/


All Articles