Vs2005 creates OSDesign project, WinCE6
1. Solution Manager, right mouse button properties of the project
default language setting
compile options
2. Main menu: Target->Connectivity Options
Add Device/Remove Device don't care
Kernel Service Map
Core Service Settings Default
Service StatusDefault
Apply->Close
3.Catelog Items View
3.1 Applications - End User
Check CAB File Installer/Uninstaller, Terminal Emulator
3.2 Applications and Services Development
Uncheck .NET Compact Framework2.0, check Use .NET Compact Framework 3.5, Active Template Library(ATL)
Because it is an emulator, LAN, PAN, and WAN are not checked on the network.
3.3 MSPY (Chinese input method)
Tick Multilingual User Interface (MUI)
4. generate
Main menu Target->Attach Device
Make SDK
Right-click And New SDK in the solution manager SDKs
Required files may be missing. To resolve the issue, reinstall Platform Builder.
Solution:
Create a new C# Console Application, project name GenSdk32, X86 compilation, reference "C:\Program Files (x86)\Microsoft Platform Builder\6.00\cepb\IdeVS\GenSdk.exe"
using System;
using System.Collections.Generic;
using System.Text;
namespace GenSdk32
{
class Program
{
static void Main(string[] args)
{
Microsoft.PlatformBuilder.Sdk.SdkGenerator.GenSdk.Main(args);
}
}
}
Copy GenSdk32.exe under Release to the "C:\Program Files (x86)\Microsoft Platform Builder\6.00\cepb\IdeVS" directory, return to the OSDesign project, generate -> "Open Release Directory In Build Window", enter the following command ""C:\Program Files (x86)\Microsoft Platform Builder\6.00\cepb\IdeVS\Gen Sdk32.exe" "E:\DEV\WinCE6\WinCE6\SDKs\SDK1\obj\BuildSDK1.xml"
Prompt for successful execution: