简体   繁体   English

使用SCSF-CAB定位.NET 2.0解决方案

[英]Targeting .NET 2.0 solution with SCSF-CAB

My team is starting a new LOB WinForms app and I'm evaluating architectural solutions. 我的团队正在启动一个新的LOB WinForms应用程序,并且我正在评估体系结构解决方案。 We are able to develop with VS2008, but we have to target .NET 2.0. 我们能够使用VS2008进行开发,但是我们必须针对.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: 我想使用SCSF-CAB(2008年4月),但是文档说.NET 3.5是运行(而不是编译)使用此框架构建的应用程序所必需的,这是我的问题的症结所在:

Is .NET 3.5 truly a requirement for SCSF-CAB (April 2008)? .NET 3.5是否真的是SCSF-CAB的要求(2008年4月)?

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). 我之所以这样问是因为,我能够在所有项目中针对.NET 2.0重新编译Composite UI块和SCSF指导软件包,并通过所有单元测试(除了4种特定于WPF的测试之外)。

Could the compile/test cycle not reveal a .NET 3.5 dependency? 编译/测试周期可能无法显示.NET 3.5依赖性吗? 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. 更新:我创建了一个基本的Hello World模块,该模块在SCSF shell内运行,并且可以在仅具有Windows XP和.NET 2.0 SP2的虚拟机上成功运行。 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). 我还使用了Reflector分析了SCSF附带的一些程序集,而我发现的唯一依赖项> .NET 2.0在程序集Microsoft.Practices.SmartClient.DisconnectedAgent(它引用System.ServiceModel)中。

只要您坚持使用核心Microsoft.Practices.CompositeUI命名空间,就可以使用.Net 2.0。

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

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