微软.net 精简框架最常见问题及回答
此
FAQ
的 内 容 , 一 部 分 来 自
net
精 简 框 架 新 闻 组
(microsoft.public.dotnet.frameworkpactframework)张贴和回答的
问题。 .net 精简框架 开发小组感谢每一位参与新闻组的人事,感谢他们对 FAQ 编写的积极参与和对 FAQ 的 投稿。
要申请添加 FAQ 项目,请发邮件到 netcffaq@microsoft.
1. 开发
1.1. 什么是微软 .net 精简框架? 1.2. 我需要什么工具才能开发.net 精简框架的应用? 1.3. 哪里可以下载最新的工具和相关
软件? 1.4. .net 精简框架支持些什么设备? 1.5. .net 精简框架以后将支持什么设备? 1.6. 调试程序时为什么会出现“与模拟器建立连接失败”的错误(刚开始执行程序的时候)? 1.7. .net 框架和.net 精简框架之间有什么区别? 1.8. .net 精简框架的补丁有什么改进? 1.9. Poclet PC 上的.net 精简框架开发和 Windows CE .NET 上的.net 精简框架开发有什么不同? 1.10. 哪里有更多的关于建立.net 精简框架上的应用程序的信息? 1.11. .net 精简框架的
文档在哪里? 1.12. 怎样设置才不会在每次调试的时候把所涉及的文件都拷贝到设备上? 1.13. 怎样设置模拟器的属性?
1.14. 怎么调试.net 精简框架的应用程序? 1.15. 怎样开始使用 Visual Basic .NET 开发.net 精简框架的程序? 1.16. 怎样才能把.net 精简框架安装到装配集中(GAC)? 1.17. 当 从 Visual Studio .NET 2003 中 发 布 程 序 到 设 备 上 的 时 候 , 怎 样 处 理 "Sharing Violation"? 1.18. 什么是 common language runtime (CLR)? 1.19. 什么是 Global Assembly Cache (GAC)? 1.20. 在.net 精简框架下内存管理是怎样的? 1.21. 当我的
网络协议数超过 50 个的时候,为什么不能向发布
程序? 1.22. 为什么会有跨平台代码? 1.23. 这些 ARM 指令代表什么? 1.24. 怎样写
注册表? 1.25. How can I prevent .CAB files from being deleted after installation? 1.26. How can I determine the version of the .NET Compact Framework that is installed on a device? 1.27. How do I copy files to the emulator? 1.28. Why does installation of the PocketPC 2002 SDK fail? 1.29. How do I debug a Web service consumed by a Smart Device application? 1.30. What is the footprint of the .NET Compact Framework? 1.31. How do I include imgdecmp.dll in an emulator image? 1.32. How do I programmatically replace Assemblies in the Global Assembly Cache (GAC)? 1.33. How can I display Pocket PC applications on my desktop or laptop without needing any device side configuration? 1.34. How can I allow Activesync to connect to an Emulator session from Visual Studio .
NET 2003? 1.35. How can I copy files to the device currently connected to desktop ActiveSync? 1.36. How can I stress test user input? 1.37. Where can I get a UI version of the Platform Builder Target Control Window? 1.38. Where can I get a Command shell for
Pocket PC 2003 devices? 1.39. How can I get detailed information about currently running processes? 1.40. How can I remotely start an application on a Pocket PC from my desktop? 1.41. Why can't I load different assemblies with the same name? 1.42. How can I force Visual Studio .NET 2003 to connect to newer versions of the Pocket PC 2003 emulator? 1.43. Why don't my custom controls show up properly in the toolbox?
2. 图形
2.1. 怎样建立一个图形对象? 2.2. 怎样优化 GDI+? 2.3. 怎样在窗体上画一个图案? 2.4. 怎样画一个带有透明色的图案? 2.5. 为什么从 TextBox 上调用 CreateGraphics 会失败? 2.6. 怎样获得屏幕上文字的大小? 2.7. Can I set the width of a pen? 2.8. How do I zoom an image? 2.9. Why can't I load an image?
3. 发布
3.1. 怎样建立一个 PocketPC 的设置程序? 3.2. 哪个发布包可以包括在我的安装程序中? 3.3. 怎样可以建立