Create a system to target multiple versions of .NET

What are the common design / project structure design methods that allow you to configure multiple .NET versions with different feature sets?

In particular:

  • Should you be part of the original control?
  • Should you use conditional compilation?
  • Do you have to output interfaces, thereby managing versions?
  • Should you create separate "versionX" projects and link common project files?
+3
source share
1 answer

I tried several different ways to do this.

, SVN/TFS. SCC /, , - .

, , . , , - Nito.Linq, . , , . , 3.5, 4.0, SL3 SL4 " Rx" " Rx" . CF 3.5, VS2010 .

:

  • "", . , , ; , .
  • , , : . VS , . IntelliSense, . -, , ( , ).
  • VS2010 4.0. VS2010 . ; Nito.Linq, 4.0 .

Rx team, ( 3.5, 4.0, SL3 SL4 ). -, , , . -, - "" .

Rx, "" . , , , Microsoft.

+6

Source: https://habr.com/ru/post/1753868/


All Articles