/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
eng/targets/TargetFrameworks.props
60 строк
2 KB
Ankita Khera
Move everything besides buildhost to net10 (#84192)
24 июн 2026, 21:53
Не верифицирован
24 июн 2026, 21:53
ba8017d
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <Project> <!-- This props file manages the target framework properties for Roslyn. The strategy for these properties is covered in "docs/contributing/target-framework-strategy.md". Please see that for documentation on what these values mean. Requirements: - NetVSShared must include both NetVS and NetVSCode - NetRoslynSourceBuild must include NetRoslyn - NetRoslynAll must include all .NET Core TFMs in any property below (OS-specific TFMs like NetRoslynWindowsTests are excluded as they are not cross-platform). Exception: NetRoslynBuildHostNetCoreVersion is excluded because the BuildHost is an isolated executable that does not share test utilities or broadly-consumed library layers. --> <PropertyGroup> <NetRoslyn>net10.0</NetRoslyn> <NetRoslynAll>net10.0</NetRoslynAll> <NetRoslynWindowsTests>net10.0-windows</NetRoslynWindowsTests> <NetVS>net10.0</NetVS> <NetVSCode>net10.0</NetVSCode> <NetVSShared>net10.0</NetVSShared> <NetRoslynBuildHostNetCoreVersion>net8.0</NetRoslynBuildHostNetCoreVersion> <NetRoslynNext>net10.0</NetRoslynNext> </PropertyGroup> <!-- These are the modes that are needed for our source build TFMs and this is where we calculate them --> <Choose> <!-- Source build the product: this is the all up build of the product which needs only NetCurrent --> <When Condition="'$(DotNetBuildSourceOnly)' == 'true'"> <PropertyGroup> <NetRoslyn>$(NetCurrent)</NetRoslyn> <NetRoslynSourceBuild>$(NetCurrent)</NetRoslynSourceBuild> <NetRoslynAll>$(NetCurrent)</NetRoslynAll> <NetVS>$(NetCurrent)</NetVS> <NetVSCode>$(NetCurrent)</NetVSCode> <NetVSShared>$(NetCurrent)</NetVSShared> <NetRoslynBuildHostNetCoreVersion>$(NetCurrent)</NetRoslynBuildHostNetCoreVersion> <NetRoslynNext>$(NetCurrent)</NetRoslynNext> </PropertyGroup> </When> <!-- Everything else including normal CI, developer machines and official builds. This brings in enough TFM that source build will go smoothly but doesn't bring in all source build TFMs to avoid adding too many extra compiles to our builds --> <Otherwise> <PropertyGroup> <NetRoslynSourceBuild>$(NetRoslynAll)</NetRoslynSourceBuild> </PropertyGroup> </Otherwise> </Choose> </Project>