为 WPF、SL 4.0 和 SL 构建服务器WP7 项目:Windows Server 2008 还是 Windows 7?

发布于 2024-10-04 06:22:41 字数 1107 浏览 2 评论 0原文

我正在考虑设置一个运行CC.NET并构建.NET 4.0(WPF和Silverlight)和Windows Phone 7的构建服务器强> 项目。我正在争论是否应该选择 Windows 7 作为操作系统还是 Windows Server 2008,并尝试收集每种操作系统的优缺点。

Windows 7 优点:

  • Windows Phone 7 SDK 仅在 Win7 / Vista 上受支持,需要安装它才能构建 Windows Phone 7 项目。有一个 非官方的黑客解决方法使其在 Windows Server 2008 上运行
  • MSBuild 4.0 无需安装 Visual Studio 2010 即可安装,因为它是 包含在 Windows 7 SDK 中。我还没有找到无需在 Windows Server 2008 上安装 Visual Studio 2010 即可获取此 MSBuild 的方法(Windows Server 2008 SDK 仅针对 .NET 3.5)
  • 基于上述情况,Windows 7 似乎得到了更多关注,并且最新的工具(甚至构建工具)首先在 Windows 7 上得到支持,而在 Windows Server 2008 上获取它们通常很困难

Windows 2008 专业人士:

  • 目前还不知道!

根据我的初步研究,对我来说,使用 Windows 7 似乎是显而易见的,但是我觉得我可能缺少有利于 Windows Server 2008 的信息。请告诉我您对此的体验:您建议选择哪种操作系统作为构建服务器以及为什么?

I'm looking into setting up a build server that would be running CC.NET and build .NET 4.0 (WPF and Silverlight) and Windows Phone 7 projects. I'm debating between whether I should choose Windows 7 as an operating system or Windows Server 2008 and trying to collect the pros / cons for each.

Windows 7 Pros:

  • Windows Phone 7 SDK is only supported on Win7 / Vista and this needs to be installed to build Windows Phone 7 projects. There's an unofficial hacky workaround to get it working on Windows Server 2008
  • MSBuild 4.0 can be installed without having to install Visual Studio 2010 as it's included in the Windows 7 SDK. I've not found a way to obtain this MSBuild without having to install Visual Studio 2010 on Windows Server 2008 though (the Windows Server 2008 SDK only targets .NET 3.5)
  • Based on the above it seems Windows 7 is getting much more attention and the latest tools (even build tools) are first supported on Windows 7 whereas it's often a pain to get them on Windows Server 2008

Windows 2008 pros:

  • Currently unaware of ones !

Based on my initial research it seems obvious to me to go with Windows 7, however I feel I might be missing information that would favour Windows Server 2008. Let me know your experience with this: which OS would you suggest choosing for the build server and why?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

画▽骨i 2024-10-11 06:22:41

我想您可能已经做出了决定,但是...

我们使用运行 Server2008-R2 的 VM 作为我们的构建机器。

我们这样做是因为:

  • 我们不需要桌面操作系统的所有功能
  • 我们希望通过关闭构建服务器上不需要的所有组件来使服务器的配置尽可能简单
  • 我们还有其他虚拟机运行相同的操作系统,因此从管理的角度来看它更容易。

希望其中一些论点对您的决策有所帮助。
不过,这是一个课程问题。

I think you've probably already decided yourself but...

We use a VM running Server2008-R2 as our build machine.

We do this because:

  • We don't need all the features of a desktop OS
  • We want to make the configuration of the server as simple as possible by turning off all components we don't need on a build server
  • We have other VMs running the same OS and so it makes it easier from an administrative point of view.

Hopefully some of those arguments will help in your decision making.
It's a horses for courses issue though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文