3

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.

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."

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?

4

2 回答 2

5

似乎没有办法做到这一点,不再需要 Visual Studio 2005。

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

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

于 2014-03-06T02:41:17.650 回答
3

VS2012 没有任何 Windows CE 编译器。与 CE 5.0 兼容的编译器附带的最后一个是 VS 2008,因此这是您可以用来构建的“最新”版本。(VS2012 能够为 Windows CE 构建,但仅适用于 WEC 2013,并且仅在安装 WEC 2013 SDK 之后,其中包括必要的编译器部分)。

简而言之,您无法单独获得 VS2012 来编译 CE 7.0 或更早版本的应用程序。

有一个适用于 VS 2013 插件,可让您将该 IDE 用于托管代码(我从未使用过它,所以我不能说它的效果如何),但它仍然需要安装 VS 2008获取编译器。

于 2014-03-04T17:15:47.287 回答