安装 WinCE 5.0 Platform Builder SDK - 使用 Visual Studio 2012 或更高版本构建代码

问题描述:

我有一个基于 Windows CE 5.0 的 Platform Builder 映像.它旨在安装在 Visual Studio 2005 上.我的团队希望升级我们的构建工具以使用 Visual Studio 2012,但 Visual Studio 2012 不支持此平台映像.

I have a Windows CE 5.0-based Platform Builder image. It is intended to be installed on Visual Studio 2005. My team would like to upgrade our build tools to utilize Visual Studio 2012, but Visual Studio 2012 does not support this platform image.

要清楚;我不是在问 Visual Studio 2012(或更高版本)是否支持针对 Windows CE 5.0 的 Platform Builder SDK.这个问题已经得到解答(或多或少),并且答案显然是否".

To be clear; I am not asking whether or not Visual Studio 2012 (or higher) supports Platform Builder SDKs targeting Windows CE 5.0. That question has already been answered (more or less), and the answer is clearly "No."

相反,我想做的是安装 Platform Builder SDK,并手动修改 Visual Studio 2012 环境以允许编译我的 Windows CE 代码.远程调试和部署等功能对我的团队来说是可以接受的损失;我们有自己的在嵌入式设备上进行部署和调试的途径.我真正希望获得的只是在 VS2012 中构建 WinCE 5.0 代码的能力,这是为 VS2005 设计的.我正在尝试减少 Visual Studio 的安装数量,并访问较新版本的 Visual Studio 的高级智能感知能力.

Instead, what I'd like to do is install the Platform Builder SDK, and manually modify the Visual Studio 2012 environment to allow compilation of my Windows CE code. Features like remote debugging and deployment are acceptable losses to my team; we have our own pathway for deployment and debugging on our embedded device. What I'm really hoping to gain is simply the ability to build WinCE 5.0 code in VS2012, which was intended for VS2005. I am attempting to reduce the number of Visual Studio installations, and get access to the superior intellisense faculties of newer versions of Visual Studio.

有谁知道这是否可能?我该怎么做?

Does anyone know if this is possible? How would I go about doing that?

似乎没有办法以不再需要 Visual Studio 2005 的方式执行此操作.

There does not appear to be a way to do this, in such a fashion as to no longer require Visual Studio 2005.

但是,您可以在编译期间使用注册表黑客来强制 Visual Studio 2012 通过利用来自 Visual Studio 2005 的编译器二进制文件来构建 WinCE 5.0 项目.这将允许您在 VS2012 中开发代码,但也需要安装 VS2005 才能成功构建.

You can, however, use registry hacks to force Visual Studio 2012 to build a WinCE 5.0 project by utilizing the compiler binaries from Visual Studio 2005, during compilation. This would allow you to develop code in VS2012, but would also require that VS2005 be installed for a successful build.

这是一篇解释设置步骤的文章.