我很快就会得到VS 2015 Pro。我可以为Windows CE版本5和6创建智能设备项目。
不,你不能。
适用于Windows Phone OS 7.0之前的Windows Phone版本的Visual Studio 2010 does not support移动应用程序开发。 2015年也不支持。
你必须使用Visual Studio 2008。
Here's some download links,不要忘记服务包。不同的视觉工作室版本共存很好,现在我安装了3个版本(2008年,2012年,2013年),到目前为止没有任何问题。
在某些情况下,你可以。此博客详细介绍了如何使用Visual Studio 2012完成类似的操作:
http://geekswithblogs.net/WernerWillemsens/archive/2013/09/13/154016.aspx
来自网站的报价:
以下是将Visual Studio 2008的Windows CE 6 SDK(以下称为“MyDevice6(x86)”)转换为Visual Studio 2012的新SDK(以下称为“MyDevice6”)时必须遵循的详细步骤。尽管可能如下看起来有很多步骤要做,我们只是将几个文件夹复制到一个新位置并编辑一些文件来为Windows CE 6创建这个新的Visual Studio 2012兼容SDK(同样适用于Windows CE 7 SDK ):
第1步:地产表
- 通过从C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110复制(并重命名)它来创建一个新的C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6文件夹\ \平台MyDevice8。
- 将文件重命名为(“MyDevice8” - >“MyDevice6”) C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ Microsoft.Cpp.MyDevice6.Common.props C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ Microsoft.Cpp.MyDevice6.default.props C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ Microsoft.Cpp.MyDevice6.props C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ Microsoft.Cpp.MyDevice6.targets C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ PlatformToolsets \ wce600 \ Microsoft.Cpp.MyDevice6.wce600.props C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ PlatformToolsets \ wce600 \ Microsoft.Cpp.MyDevice6.wce600.targets
- 使用管理员权限(写访问权限)打开文本编辑器(以管理员身份运行)
- 浏览所有6个文件并重命名那些引用MyDevice8到MyDevice6,CE800到wce600的文件中的所有内容
第2步:注册表
- 使用文本编辑器C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ PlatformToolsets \ wce600 \ Microsoft.Cpp.MyDevice6.wce600.props打开
- 查找$(注册表:HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows CE Tools \ SDKs \ MyDevice6)sdk \
这是对您希望用于编译Windows CE 6/7智能设备项目的系统上需要存在的注册表项的引用。 Visual Studio 2012使用此密钥来识别您的SDK(Windows CE平台配置)。使用Regedit.exe手动创建此密钥。您还可以在那里找到“MyDevice8”SDK密钥,并以此为例。
- 您需要使用(默认)REG_SZ数据“C:\ Program Files \ Windows CE Tools \ SDKs \ MyDevice6 \”创建密钥HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows CE Tools \ SDKs \ MyDevice6
第3步:文件夹结构
- 将Visual Studio 2008“CE”文件夹从C:\ Program Files \ Microsoft Visual Studio 9.0 \ VC \ ce复制到C:\ Program Files \ Windows CE Tools \ SDKs \ MyDevice6 \ Sdk
- 将“Windows CE工具”文件夹从C:\ Program Files \ Windows CE Tools \ wce600 \ MyDevice6(x86)复制到C:\ Program Files \ Windows CE Tools \ SDKs \ MyDevice6
您的文件夹结构应如下所示:
第4步:二进制工具文件夹
- 使用文本编辑器C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ PlatformToolsets \ wce600 \ Microsoft.Cpp.MyDevice6.wce600.props打开
- 如下调整标签(注意顺序) 来自$(SdkRootPath)bin \ i386; $(SdkRootPath)bin \ i386 \ x86; $(VSInstallDir)Common7 \ Tools \ bin; $(VSInstallDir)Common7 \ tools; $(VSInstallDir)Common7 \ ide; $(ProgramFiles)\ HTML Help Workshop; $(MSBuildToolsPath32); $(FxCopDir); $(PATH); $(VCINSTALLDIR)\ bin; To $(SdkRootPath)bin \ x86_cex86; $(VSInstallDir)Common7 \ Tools \ bin; $(VSInstallDir)Common7 \ tools; $(VSInstallDir)Common7 \ ide; $(ProgramFiles)\ HTML Help Workshop; $(MSBuildToolsPath32); $ (FxCopDir); $(PATH); $(VCINSTALLDIR)\ BIN;
第5步:C ++包含头文件夹
- 使用文本编辑器C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ PlatformToolsets \ wce600 \ Microsoft.Cpp.MyDevice6.wce600.props打开
- 如下调整标签(注意顺序) 来自$(SdkRootPath)crt \ Include; $(SdkRootPath)crt \ Include \ sys; $(SdkRootPath)crt \ Include \ stl; $(SdkRootPath)atlmfc \ Include; $(SdkRootPath)Inc; To $(SdkRootPath)Include; $(SdkRootPath)wce600 \ Include \ x86; $(SdkRootPath)atlmfc \ Include;
第6步:C ++库文件夹
- 使用文本编辑器C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ PlatformToolsets \ wce600 \ Microsoft.Cpp.MyDevice6.wce600.props打开
- 如下调整标签(注意顺序) 来自$(SdkRootPath)crt \ Lib \ x86; $(SdkRootPath)atlmfc \ lib \ x86; $(SdkRootPath)Lib \ x86 \ debug; $(SdkRootPath)Lib \ x86 \ retail; To $(SdkRootPath)wce600 \ Lib \ x86; $(SdkRootPath)atlmfc \ LIB \ 86; $(SdkRootPath)库\ 86;
第7步:CE附加文件
- 使用文本编辑器C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ PlatformToolsets \ wce600 \ Microsoft.Cpp.MyDevice6.wce600.props打开
- 将所有“110”文件重命名为标签中的“90”文件 示例:msvcr90d.dll | $(SdkRootPath)crt \ bin \ x86 \ | temp \ $(ProjectName)| 0; msvcp90d.dll | $(SdkRootPath)crt \ bin \ x86 \ | temp \ $(ProjectName)| 0;
第8步:链接器附加依赖项
- 使用文本编辑器C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ PlatformToolsets \ wce600 \ Microsoft.Cpp.MyDevice6.wce600.props打开
- 在章节中调整标签 来自coredll.lib;%(AdditionalDependencies) to coredll.lib; corelibc.lib; ole32.lib; oleaut32.lib; uuid.lib; commctrl.lib; atlosapis.lib;%(AdditionalDependencies)
第9步:编译器预处理器定义
- 使用文本编辑器C:\ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Platforms \ MyDevice6 \ PlatformToolsets \ wce600 \ Microsoft.Cpp.MyDevice6.wce600.props打开
- 在部分中调整<PreprocessorDefinitions>标记 来自UNDER_CE; WINCE; _WIN32_WCE = 0x800;%(预处理器定义) 至UNDER_CE; WINCE; _WIN32_WCE = 0x600;%(预处理器定义)
- 删除/存档:IA32%(AdditionalOptions)
步骤10:避免链接器错误“LINK:致命错误LNK1104:无法打开文件'OLDNAMES.lib'”
- 将/NODEFAULTLIB:“oldnames.lib”%(AdditionalOptions)添加到该部分
这将告诉链接器忽略名为“oldnames.lib”的默认库,该库在Windows CE中没有用处
Voila,如果您已经实现了所有前面的步骤,则Visual Studio 2008的Windows CE 6 SDK将转换为Visual Studio 2012的Windows CE 6 SDK。再次,这也适用于Windows CE7 SDK。