Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Windows CE 6.0 Net Compact Framework Application

Status
Not open for further replies.

Gofs

Member level 2
Joined
Apr 26, 2012
Messages
48
Helped
11
Reputation
22
Reaction score
11
Trophy points
1,288
Location
UK / POLAND
Activity points
1,659
Hi All,

I am looking for someone who has experience in Net Compact Framework Application Development. I am trying to launch a simple application on my development board with CE 6.0 but I am getting following error:

Run Programs s NetTest3
100281 PID:400002 TID:2c300b6 RELFSD: Opening file NetTest3.exe from desktop
s NetTest3 17:00:18 06/17/2012 GMT (czas letni)
End s NetTest3 17:00:18 06/17/2012 GMT (czas letni)

100616 PID:400002 TID:2c300b6 RELFSD: Opening file NetTest3.exe from desktop
101210 PID:2bd0092 TID:2c300b6 NetTest3.exe
101211 PID:2bd0092 TID:2c300b6 Error
101211 PID:2bd0092 TID:2c300b6 An unexpected error has occurred in NetTest3.exe.
Select Quit and then restart this program, or select Details for more information.

File or assembly name 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969DB8053D3322AC', or on

Net Framework versions 2.0 and 3.0 are included into OS design and I have no idea what is happening. Anybody had previous similar error and know what is the reason?

On the device the error windows shows MissingMethdoException.
 

Ok I resolved the problem. I will leave the solution for other people who will have this kind of problem.

To resolve this problem I added a file "appname.exe.config" where the 'appname' is the C# application name into the application folder with following content:

<configuration>
<runtime>
<compatibilityversion major="2" minor="0"/>
</runtime> <startup>
<supportedRuntime version="v3.5.7000"/>
</startup>
</configuration>

Thread about this you can find on following website: https://msdn.microsoft.com/en-US/library/d5cd9b2c.aspx
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top