/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Servers/IIS/Directory.Build.props
28 строк
2 KB
William Godbe
Try a build on VS2026 (#65088)
22 янв 2026, 00:02
Не верифицирован
22 янв 2026, 00:02
012f51e
Код
Авторство
О чём код?
<Project> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" /> <PropertyGroup> <KestrelSharedSourceRoot>$(MSBuildThisFileDirectory)..\Kestrel\shared\</KestrelSharedSourceRoot> <EnableManagedPackageReferenceSupport>true</EnableManagedPackageReferenceSupport> <HostArch>$(Platform)</HostArch> <HostArch Condition="'$(Platform)' == 'Win32'">x86</HostArch> <HostArch Condition="'$(Platform)' == 'AnyCPU'">x64</HostArch> <HostArch Condition="'$(DotNetBuild)' == 'true' AND '$(DotNetBuildPass)' != '2'">$(TargetArchitecture)</HostArch> <LibNetHostPath>$(NuGetPackageRoot)microsoft.netcore.app.host.win-$(HostArch)\$(LibNetHostAppPackVersion)\runtimes\win-$(HostArch)\native</LibNetHostPath> <!-- This tools version MUST match the same version as runtime uses to compile libnethost.lib --> <PlatformToolsetVersion>145</PlatformToolsetVersion> </PropertyGroup> <!-- Platform is different during restore than during build. Therefore, restore everything when not building the product. --> <ItemGroup Condition="'$(MSBuildProjectExtension)' == '.vcxproj' and ('$(DotNetBuild)' != 'true' OR '$(DotNetBuildPass)' == '2') "> <PackageReference Include="Microsoft.NETCore.App.Host.win-x64" Version="[$(LibNetHostAppPackVersion)]" PrivateAssets="all" ExcludeAssets="all" /> <PackageReference Include="Microsoft.NETCore.App.Host.win-x86" Version="[$(LibNetHostAppPackVersion)]" PrivateAssets="all" ExcludeAssets="all" /> <PackageReference Include="Microsoft.NETCore.App.Host.win-arm64" Version="[$(LibNetHostAppPackVersion)]" PrivateAssets="all" ExcludeAssets="all" /> </ItemGroup> <ItemGroup Condition="'$(MSBuildProjectExtension)' == '.vcxproj' and '$(DotNetBuild)' == 'true' AND '$(DotNetBuildPass)' != '2' "> <PackageReference Include="Microsoft.NETCore.App.Host.win-$(TargetArchitecture)" Version="[$(LibNetHostAppPackVersion)]" PrivateAssets="all" ExcludeAssets="all" /> </ItemGroup> </Project>