为 WPF、SL 4.0 和 SL 构建服务器WP7 项目:Windows Server 2008 还是 Windows 7?
我正在考虑设置一个运行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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想您可能已经做出了决定,但是...
我们使用运行 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:
Hopefully some of those arguments will help in your decision making.
It's a horses for courses issue though.