Microsoft.AspNetCore.Runtime.SiteExtension.pkgproj 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net462</TargetFramework>
  4. <PackageType>AzureSiteExtension</PackageType>
  5. <ContentTargetFolders>content</ContentTargetFolders>
  6. <Title>ASP.NET Core $(AspNetCoreMajorMinorVersion) ($(TargetArchitecture)) Runtime </Title>
  7. <Description>This site extension installs Microsoft.AspNetCore.App and Microsoft.NetCore.App shared runtimes.</Description>
  8. <PackageTags>aspnetcore;AzureSiteExtension</PackageTags>
  9. <PackageId>AspNetCoreRuntime.$(AspNetCoreMajorMinorVersion).$(TargetArchitecture)</PackageId>
  10. <RuntimeIdentifier>$(TargetRuntimeIdentifier)</RuntimeIdentifier>
  11. <NoPackageAnalysis>true</NoPackageAnalysis>
  12. <DotNetUnpackFolder>$(RedistSharedFrameworkLayoutRoot)</DotNetUnpackFolder>
  13. <IsPackable>true</IsPackable>
  14. <NoSemVer20>true</NoSemVer20>
  15. </PropertyGroup>
  16. <Import Project="..\..\..\src\Servers\IIS\build\assets.props" />
  17. <ItemGroup>
  18. <Content Include="applicationHost.xdt" />
  19. <Content Include="scmApplicationHost.xdt" />
  20. <Content Include="install.cmd" />
  21. <Content Include="$(ArtifactsBinDir)Microsoft.Web.Xdt.Extensions\$(Configuration)\net462\Microsoft.Web.Xdt.Extensions.dll"
  22. Condition="EXISTS('$(ArtifactsBinDir)Microsoft.Web.Xdt.Extensions\$(Configuration)\net462\Microsoft.Web.Xdt.Extensions.dll')"
  23. PackagePath="content" />
  24. </ItemGroup>
  25. <ItemGroup>
  26. <ProjectReference Include="..\Microsoft.Web.Xdt.Extensions\src\Microsoft.Web.Xdt.Extensions.csproj"
  27. Private="false"
  28. ReferenceOutputAssembly="false"
  29. SkipGetTargetFrameworkProperties="true" />
  30. <!-- Make sure redist folder is built and ready -->
  31. <!-- Not necessary if this is Pass 2 of a VMR build -->
  32. <ProjectReference Include="..\..\Framework\App.Runtime\src\aspnetcore-runtime.proj"
  33. Private="false"
  34. ReferenceOutputAssembly="false"
  35. SkipGetTargetFrameworkProperties="true"
  36. Condition="'$(DotNetBuildPass)' != '2'" />
  37. <NativeProjectReference Include="$(RepoRoot)src\Servers\IIS\AspNetCoreModuleV2\AspNetCore\AspNetCore.vcxproj" Platform="$(TargetArchitecture)" />
  38. <NativeProjectReference Include="$(RepoRoot)src\Servers\IIS\AspNetCoreModuleV2\OutOfProcessRequestHandler\OutOfProcessRequestHandler.vcxproj" HandlerPath="2.0.0" Platform="$(TargetArchitecture)" />
  39. </ItemGroup>
  40. <Target Name="ResolveReferenceItemsForPackage" DependsOnTargets="ResolveReferences" BeforeTargets="_GetPackageFiles">
  41. <ItemGroup>
  42. <Content Include="$(DotNetUnpackFolder)\**\*.*" Exclude="$(DotNetUnpackFolder)\**\.*" PackagePath="content\%(RecursiveDir)" />
  43. <Content Include="%(ShimComponents.DllLocation)"
  44. Pack="true"
  45. Condition="'%(ShimComponents.Platform)' == '$(TargetArchitecture)'"
  46. PackagePath="content\ancm\%(ShimComponents.TempSubfolder)" />
  47. </ItemGroup>
  48. </Target>
  49. <Target Name="CopyFilesToOutputDirectory" />
  50. <Target Name="CoreCompile" />
  51. <Target Name="CreateManifestResourceNames" />
  52. <Target Name="_VmrBuild" DependsOnTargets="Restore;Build;Pack" Condition=" '$(DotNetBuildPass)' == '2' " />
  53. </Project>