简体   繁体   English

如何使用CF Winforms Designer使VS2008打开Compact Framework表单

[英]How do I make VS2008 open Compact Framework forms using CF winforms designer

I have a problem with opening CF.NET forms using VSTS 2008. It uses the regular windows forms designer instead of the smart device one. 我使用VSTS 2008打开CF.NET表单时遇到问题。它使用常规的Windows表单设计器而不是智能设备。

Everything was fine under VS2008 Pro, but after installing VSTS this seems broken. 在VS2008 Pro下,一切都很好,但是在安装VSTS之后,这似乎坏了。 Is it possible to modify this behaviour somewhere in the settings or should I blame this on a broken install and reinstall VS? 是否可以在设置中的某处修改此行为,还是应该归咎于安装失败并重新安装VS?

Under Tools >> Options >> Device Tools >> General, is "Show skin" in Windows Forms Designer checked? 在“工具” >>“选项” >>“设备工具” >>“常规”下,是否选中了Windows Forms Designer中的“显示皮肤”?

When you open the form, is the "FormFactor" property set to a windows mobile style form? 打开表单时,“ FormFactor”属性是否设置为Windows Mobile样式表单?

Believe it or not, someone else encountered the exact same problem AND found the solution! 信不信由你,其他人也遇到了完全相同的问题并找到了解决方案!

The full solution is here , but in short, you need to run the following registry fix and the designer is back :) 完整的解决方案在这里 ,但是总之,您需要运行以下注册表修复程序,而设计器又回来了:)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v3.5.0.0\PocketPC\AsmmetaBinder]
"TypeName"="Microsoft.CompactFramework.Build.PocketPC.BindingService, Microsoft.CompactFramework.Build.Tasks, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, Custom=null"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v3.5.0.0\PocketPC\AsmmetaBinder\4118C335-430C-497f-BE48-11C3316B135E]
"TypeName"="Microsoft.CompactFramework.Build.WM50PocketPC.BindingService, Microsoft.CompactFramework.Build.Tasks, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, Custom=null"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v3.5.0.0\Smartphone\AsmmetaBinder]
"TypeName"="Microsoft.CompactFramework.Build.SmartPhone.BindingService, Microsoft.CompactFramework.Build.Tasks, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, Custom=null"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v3.5.0.0\Smartphone\AsmmetaBinder\BD0CC567-F6FD-4ca3-99D2-063EFDFC0A39]
"TypeName"="Microsoft.CompactFramework.Build.WM50SmartPhone.BindingService, Microsoft.CompactFramework.Build.Tasks, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, Custom=null"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v3.5.0.0\WindowsCE\AsmmetaBinder]
"TypeName"="Microsoft.CompactFramework.Build.WindowsCE.BindingService, Microsoft.CompactFramework.Build.Tasks, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, Custom=null"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以使用哪个属性标记属性,以使VS2008设计器不将其保存到.designer.cs文件? - Which attribute do I tag a property with to make the VS2008 designer not save it to the .designer.cs file? 如何在VS2008中设置默认目标框架? - How do I set the default target framework in VS2008? 如何在VS2008中重新启用Silverlight设计器? - How could I reenable Silverlight designer in VS2008? 如何在VS2008中使Intellisense适用于F#? - how do I make Intellisense work for F# in VS2008? 如何使VS2008在智能感知产品周围加双引号 - How do I make VS2008 place double quotes around intellisense offerings 如何使表单上的按钮表现得像toolStrip上的按钮? VS2008 - How do I make a button on a form behave like a button on a toolStrip? VS2008 VS2008:如何使stdafx.h中定义的符号对资源编译器可见? - VS2008: How do I make symbols defined in stdafx.h visible to the resource compiler? 创建一个 WPF UI……如果在 VS2008 中使用设计器,我应该打扰吗? - Creating a WPF UI… should I bother, if using the designer in VS2008? 我如何使用vs2008性能向导 - how do I use vs2008 Performance Wizard 如何配置IIS Express以与VS2008一起运行? - How do I configure IIS Express to run with VS2008?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM