简体   繁体   English

构建针对 .NET 紧凑框架的项目

[英]Building projects targeting .NET Compact Framework

I'm working with someone that is trying to get source code building for a very old app targeting Windows Mobile 6 and the .NET Compact Framework on .NET 3.5.我正在与试图为针对 Windows Mobile 6 和 .NET 紧凑型框架 .NET 3.5 的非常旧的应用程序构建源代码的人合作。 I'm trying to figure out exactly what my options are to try and move this across the line.我正试图弄清楚我的选择是什么来尝试将其移过线。 I think Visual Studio 2008 is the last supported version for this, so I assume I'd need to get a full-blown MSDN license to get that version and try to get a build going.认为Visual Studio 2008 是最后一个受支持的版本,所以我认为我需要获得完整的 MSDN 许可证才能获得该版本并尝试构建。 I'm not certain though, and the documentation around all of this from almost 15 years ago is not great.不过我不确定,大约 15 年前的所有这些文档都不是很好。

Has anyone had to set up a from-scratch environment for something like this recently?最近有没有人不得不为这样的事情建立一个从头开始的环境?

I installed and run VS 2008 Prof. on different OS, like Windows XP, Windows 7 and Windows 10. The older ones (Win7 and WinXP) in virtual machines.我在不同的操作系统上安装并运行了 VS 2008 Prof.,例如 Windows XP、Windows 7 和 Windows 10。虚拟机中的旧版本(Win7 和 WinXP)。

You may buy 'used Software Visual Studio 2008', for example at amazon or other sources.您可以购买“二手软件 Visual Studio 2008”,例如在 amazon 或其他来源。 OTOH a Developer Net Account is needed to download and run this old version. OTOH 需要一个开发者网络帐户来下载和运行这个旧版本。 Furtunately I have a MSDN account and able to download this old VS2008 and then Windows XP or so to install everything in a virtual machine or on a separate PC. Furtunately 我有一个 MSDN 帐户,能够下载这个旧的 VS2008,然后下载 Windows XP 左右,以便在虚拟机或单独的 PC 上安装所有内容。

Further on, you need the free Windows Mobile 6 SDK to get the runtimes and libs for the device and the build system.此外,您需要免费的 Windows Mobile 6 SDK 来获取设备和构建系统的运行时和库。 The.Net CF runtimes are mostly part of the device's OS image. .Net CF 运行时主要是设备操作系统映像的一部分。

I could help with changing the code and build the software, but do not have any device left with Mobile 6 to test the code.我可以帮助更改代码和构建软件,但没有任何设备可以使用 Mobile 6 来测试代码。

Important is that you buy Visual Studio 2008 Professional Edition.重要的是您购买了 Visual Studio 2008 专业版。 Standard Edition won't be able to build and run compact framework projects.标准版将无法构建和运行紧凑的框架项目。 Vs2008 is still running in Windows 10. So no need to change the operating system. Vs2008 还在 Windows 10 运行。所以不需要改变操作系统。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM