/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/SiteExtensions/Runtime/Microsoft.AspNetCore.Runtime.SiteExtension.pkgproj
77 строк
4 KB
dotnet-maestro[bot]
[main] Source code updates from dotnet/dotnet (#65267)
30 янв 2026, 07:21
Не верифицирован
30 янв 2026, 07:21
8443636
Код
Авторство
О чём код?
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net462</TargetFramework> <PackageType>AzureSiteExtension</PackageType> <ContentTargetFolders>content</ContentTargetFolders> <Title>ASP.NET Core $(AspNetCoreMajorMinorVersion) ($(TargetArchitecture)) Runtime </Title> <Description>This site extension installs Microsoft.AspNetCore.App and Microsoft.NetCore.App shared runtimes.</Description> <PackageTags>aspnetcore;AzureSiteExtension</PackageTags> <PackageId>AspNetCoreRuntime.$(AspNetCoreMajorMinorVersion).$(TargetArchitecture)</PackageId> <RuntimeIdentifier>$(TargetRuntimeIdentifier)</RuntimeIdentifier> <NoPackageAnalysis>true</NoPackageAnalysis> <DotNetUnpackFolder>$(RedistSharedFrameworkLayoutRoot)</DotNetUnpackFolder> <IsPackable>true</IsPackable> <NoSemVer20>true</NoSemVer20> <CrossArchitectureInstallerBasePathNormalized>$([MSBuild]::NormalizeDirectory('$(CrossArchitectureInstallerBasePath)', 'aspnetcore', 'Runtime'))</CrossArchitectureInstallerBasePathNormalized> </PropertyGroup> <Import Project="..\..\..\src\Servers\IIS\build\assets.props" /> <ItemGroup> <Content Include="applicationHost.xdt" /> <Content Include="scmApplicationHost.xdt" /> <Content Include="install.cmd" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\Microsoft.Web.Xdt.Extensions\src\Microsoft.Web.Xdt.Extensions.csproj" Private="false" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> <!-- Make sure redist folder is built and ready --> <!-- Not necessary if this is Pass 2 of a VMR build --> <ProjectReference Include="..\..\Framework\App.Runtime\src\aspnetcore-runtime.proj" Private="false" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" Condition="'$(DotNetBuildPass)' != '2'" /> <NativeProjectReference Include="$(RepoRoot)src\Servers\IIS\AspNetCoreModuleV2\AspNetCore\AspNetCore.vcxproj" Platform="$(TargetArchitecture)" /> <NativeProjectReference Include="$(RepoRoot)src\Servers\IIS\AspNetCoreModuleV2\OutOfProcessRequestHandler\OutOfProcessRequestHandler.vcxproj" HandlerPath="2.0.0" Platform="$(TargetArchitecture)" /> </ItemGroup> <Target Name="ResolveReferenceItemsForPackage" DependsOnTargets="ResolveReferences" BeforeTargets="_GetPackageFiles"> <ItemGroup> <AspNetRuntimeArchive Include="$(CrossArchitectureInstallerBasePathNormalized)**\$(RuntimeInstallerBaseName)-*-win-$(Platform).zip" Exclude="$(CrossArchitectureInstallerBasePathNormalized)**\$(RuntimeInstallerBaseName)-composite*" /> </ItemGroup> <Unzip SourceFiles="@(AspNetRuntimeArchive)" DestinationFolder="$(DotNetUnpackFolder)" OverwriteReadOnlyFiles="true" Condition="'$(DotNetBuildPass)' == '2'" /> <Error Condition="!Exists('$(DotNetUnpackFolder)')" Text="AspNetCore Shared Framework layout should be available for AspNetCoreRuntime .nupkg, but isn't." /> <Error Condition="!Exists('$(MicrosoftWebXdtExtensionsPath)')" Text="Microsoft.Web.Xdt.Extensions.dll should be available for AspNetCoreRuntime .nupkg, but isn't." /> <ItemGroup> <Content Include="$(DotNetUnpackFolder)\**\*.*" Exclude="$(DotNetUnpackFolder)\**\.*" PackagePath="content\%(RecursiveDir)" /> <Content Include="%(ShimComponents.DllLocation)" Pack="true" Condition="'%(ShimComponents.Platform)' == '$(TargetArchitecture)'" PackagePath="content\ancm\%(ShimComponents.TempSubfolder)" /> <Content Include="$(MicrosoftWebXdtExtensionsPath)" PackagePath="content" /> </ItemGroup> </Target> <Target Name="CopyFilesToOutputDirectory" /> <Target Name="CoreCompile" /> <Target Name="CreateManifestResourceNames" /> <Target Name="_VmrBuild" DependsOnTargets="Restore;Build;Pack" Condition=" '$(DotNetBuildPass)' == '2' " /> </Project>