关于Visual Studio 2010的WAP网站开发,我归纳一下吧,来自官方网站的消息,Visual Studio 2010不支持对WAP网站的直接开发,可以使用早期版本的 Visual Studio。可以使用早期版本的 Visual Studio。,如果要开发只能使用较低Visual Studio2005/2008的版本,网上关于VISUAL STUDIO 2010的如何调试,经测试,可能与系统安装过VISUAL STUDIO 2008的老版本系统有关。
Mobile application development is still supported in earlier versions of Visual Studio, such as Visual Studio 2008. For more information about smart device projects, seeWindows Mobile Developer Center andSmart Device Development in Visual Studio 2008.
![]() |
---|
Visual Studio also supports a different kind of device development known as Mobile Web development with ASP.NET.Mobile Web development refers to the development of mobile Web applications that run on a Web server and are rendered in different formats on a variety of browser-equipped mobile devices. For more information about Mobile Web development, see ASP.NET Web Sites for Mobile Devices. |
不过,在VS2010上增加WAP模板就可以了,有人搞没有,当然有,其实就是缺少WAP模板而已。找找就行了。感谢
估计是国人整理出来的模板吧。
Mobile Wap Development Template Tool
http://visualstudiogallery.msdn.microsoft.com/dfb244a8-c1be-4445-ab95-530e606241ca/?SRC=Home
type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
var="HTTP_USER_AGENT"/>
"wml11"
"text/vnd.wap.wml"
"image/vnd.wap.wbmp"
安装包里面包含一个Installer.vsi的程序,双击即可安装。(已经做好的模板宏)
重新启动VISUAL STUDIO 2010。怎么还没有,你还是得选择.NET 3.5才有,如图。
其他的你参考http://wenku.baidu.com/view/ac64f50103d8ce2f006623f5.html
=====
不过就开发而言,还是按照微软的方法,干脆同时安装VISUAL STUDIO 2008和VISUAL 2010即可,多好。
看样子VS还是不如JAVA系列的移动开发,很多人都看好微软有最好的工程师和未来的规划人才而已。