Commit aa32b6d
Add DisabledLanguageFeatures MSBuild property support
- Added disabledLanguageFeatures field to Fsc task
- Added DisabledLanguageFeatures property (takes ITaskItem array)
- Updated command line builder to pass each feature with --disableLanguageFeature flag
- Follows same pattern as other MSBuild properties
This allows .fsproj files to use:
<DisabledLanguageFeatures>NameOf;StringInterpolation</DisabledLanguageFeatures>
Partial implementation of comment 2627788945 from @T-Gro. Still need to update .targets files.
Co-authored-by: T-Gro <[email protected]>1 parent 7c0dc12 commit aa32b6d
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
| |||
463 | 467 | | |
464 | 468 | | |
465 | 469 | | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
466 | 474 | | |
467 | 475 | | |
468 | 476 | | |
| |||
0 commit comments