使用 SCSF-CAB 针对 .NET 2.0 解决方案
我的团队正在启动一个新的 LOB WinForms 应用程序,我正在评估架构解决方案。我们可以使用VS2008进行开发,但我们必须针对.NET 2.0。我想使用 SCSF-CAB(2008 年 4 月),但文档说需要 .NET 3.5 才能运行(而不仅仅是编译)使用此框架构建的应用程序,这就是我问题的关键:
.NET 3.5 真的吗? SCSF-CAB(2008 年 4 月)的要求?
我问这个问题是因为我能够重新编译 Composite UI 块和 SCSF 指导包,在所有项目中针对 .NET 2.0,并通过所有单元测试(除了 WPF 特定的 4 个测试)。
编译/测试周期是否无法揭示 .NET 3.5 依赖性?我是否遗漏了该要求的某些内容?
更新:我创建了一个在 SCSF shell 内运行的基本 Hello World 模块,并且它在仅装有 Windows XP 和 .NET 2.0 SP2 的虚拟机上成功运行。我还使用 Reflector 分析了 SCSF 附带的一些程序集以及唯一的依赖项 >我发现的.NET 2.0位于程序集Microsoft.Practices.SmartClient.DisconnectedAgent(它引用System.ServiceModel)中。
My team is starting a new LOB WinForms app and I'm evaluating architectural solutions. We are able to develop with VS2008, but we have to target .NET 2.0. I'd like to use SCSF-CAB (April 2008), but the documentation says that .NET 3.5 is required to run (not just compile) apps built with this framework, and that is crux of my question:
Is .NET 3.5 truly a requirement for SCSF-CAB (April 2008)?
I ask this because I am able to recompile the Composite UI block and the SCSF Guidance Package, targeting .NET 2.0 in all projects, as well as pass all unit tests (except the 4 tests that are WPF-specific).
Could the compile/test cycle not reveal a .NET 3.5 dependency? Am I missing something about that requirement?
Update: I've created a basic Hello World module that runs inside an SCSF shell and it runs successfully on a virtual machine that has only Windows XP and .NET 2.0 SP2 on it. I also used Reflector to analyze some of the assemblies that ship with SCSF and the only dependency > .NET 2.0 that I've found is in assembly Microsoft.Practices.SmartClient.DisconnectedAgent (it references System.ServiceModel).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只要您坚持使用核心 Microsoft.Practices.CompositeUI 命名空间,您就应该可以轻松使用 .Net 2.0。
As long as you stick to the core Microsoft.Practices.CompositeUI namespaces, you should be fine with .Net 2.0.