зеркало из https://github.com/dotnet/aspnetcore.git
Always build App.Ref and the targeting packs (#39568)
- remove `$(IsTargetingPackBuilding)` entirely
This commit is contained in:
Родитель
b77071145f
Коммит
08968dd0d6
|
@ -139,11 +139,6 @@
|
||||||
<RuntimeInstallerBaseName>aspnetcore-runtime</RuntimeInstallerBaseName>
|
<RuntimeInstallerBaseName>aspnetcore-runtime</RuntimeInstallerBaseName>
|
||||||
<TargetingPackInstallerBaseName>aspnetcore-targeting-pack</TargetingPackInstallerBaseName>
|
<TargetingPackInstallerBaseName>aspnetcore-targeting-pack</TargetingPackInstallerBaseName>
|
||||||
|
|
||||||
<!-- This is used to produce targeting pack installers/packages once per major.minor. -->
|
|
||||||
<IsTargetingPackBuilding
|
|
||||||
Condition=" '$(IsTargetingPackBuilding)' == '' AND '$(AspNetCorePatchVersion)' != '0' ">false</IsTargetingPackBuilding>
|
|
||||||
<IsTargetingPackBuilding Condition=" '$(IsTargetingPackBuilding)' == '' ">true</IsTargetingPackBuilding>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Archives and installers using this prefix are intended for internal use only.
|
Archives and installers using this prefix are intended for internal use only.
|
||||||
For example, this .zip is used to handoff bits to partner teams who then incorporate our shared frameworks
|
For example, this .zip is used to handoff bits to partner teams who then incorporate our shared frameworks
|
||||||
|
|
|
@ -47,7 +47,6 @@
|
||||||
<SharedFxProductName>$(Product) $(SharedFxVersion) Shared Framework</SharedFxProductName>
|
<SharedFxProductName>$(Product) $(SharedFxVersion) Shared Framework</SharedFxProductName>
|
||||||
|
|
||||||
<TargetingPackVersion>$(SharedFxVersion)</TargetingPackVersion>
|
<TargetingPackVersion>$(SharedFxVersion)</TargetingPackVersion>
|
||||||
<TargetingPackVersion Condition=" ! $(IsTargetingPackBuilding) ">$(TargetingPackVersionPrefix)</TargetingPackVersion>
|
|
||||||
|
|
||||||
<PackageVersion Condition=" '$(NoSemVer20)' == 'true' ">$(SiteExtensionVersion)</PackageVersion>
|
<PackageVersion Condition=" '$(NoSemVer20)' == 'true' ">$(SiteExtensionVersion)</PackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
|
@ -29,8 +29,6 @@
|
||||||
It's also used in root Directory.Build.targets to determine the version of the last-built targeting pack.
|
It's also used in root Directory.Build.targets to determine the version of the last-built targeting pack.
|
||||||
-->
|
-->
|
||||||
<TargetingPackVersionPrefix>$(VersionPrefix)</TargetingPackVersionPrefix>
|
<TargetingPackVersionPrefix>$(VersionPrefix)</TargetingPackVersionPrefix>
|
||||||
<!-- Targeting packs do not produce patch versions in servicing builds. No API changes are allowed in patches. -->
|
|
||||||
<TargetingPackVersionPrefix Condition="'$(IsTargetingPackBuilding)' != 'true'">$(AspNetCoreMajorMinorVersion).0</TargetingPackVersionPrefix>
|
|
||||||
<ExperimentalVersionPrefix>0.3.$(AspNetCorePatchVersion)</ExperimentalVersionPrefix>
|
<ExperimentalVersionPrefix>0.3.$(AspNetCorePatchVersion)</ExperimentalVersionPrefix>
|
||||||
<!-- ANCM versioning is intentionally 10 + AspNetCoreMajorVersion because earlier versions of ANCM shipped as 8.x. -->
|
<!-- ANCM versioning is intentionally 10 + AspNetCoreMajorVersion because earlier versions of ANCM shipped as 8.x. -->
|
||||||
<AspNetCoreModuleVersionMajor>$([MSBuild]::Add(10, $(AspNetCoreMajorVersion)))</AspNetCoreModuleVersionMajor>
|
<AspNetCoreModuleVersionMajor>$([MSBuild]::Add(10, $(AspNetCoreMajorVersion)))</AspNetCoreModuleVersionMajor>
|
||||||
|
|
|
@ -253,8 +253,7 @@
|
||||||
-->
|
-->
|
||||||
<ItemGroup Condition=" '$(MSBuildProjectName)' != 'Microsoft.AspNetCore.App.Runtime' AND
|
<ItemGroup Condition=" '$(MSBuildProjectName)' != 'Microsoft.AspNetCore.App.Runtime' AND
|
||||||
'$(MSBuildProjectName)' != 'RepoTasks' AND
|
'$(MSBuildProjectName)' != 'RepoTasks' AND
|
||||||
($(_CompileTfmUsingReferenceAssemblies) OR
|
($(_CompileTfmUsingReferenceAssemblies) OR '$(MSBuildProjectName)' == 'Microsoft.AspNetCore.App.Ref') ">
|
||||||
('$(IsTargetingPackBuilding)' != 'false' AND '$(MSBuildProjectName)' == 'Microsoft.AspNetCore.App.Ref')) ">
|
|
||||||
<PackageReference Include="Microsoft.Internal.Runtime.AspNetCore.Transport"
|
<PackageReference Include="Microsoft.Internal.Runtime.AspNetCore.Transport"
|
||||||
Version="$(MicrosoftInternalRuntimeAspNetCoreTransportVersion)"
|
Version="$(MicrosoftInternalRuntimeAspNetCoreTransportVersion)"
|
||||||
IsImplicitlyDefined="true"
|
IsImplicitlyDefined="true"
|
||||||
|
@ -276,8 +275,7 @@
|
||||||
'$(IsServicingBuild)' == 'true' AND
|
'$(IsServicingBuild)' == 'true' AND
|
||||||
'$(IsImplementationProject)' == 'true' AND
|
'$(IsImplementationProject)' == 'true' AND
|
||||||
'$(MSBuildProjectName)' != 'Microsoft.AspNetCore.App.Runtime' AND
|
'$(MSBuildProjectName)' != 'Microsoft.AspNetCore.App.Runtime' AND
|
||||||
($(_CompileTfmUsingReferenceAssemblies) OR
|
($(_CompileTfmUsingReferenceAssemblies) OR '$(MSBuildProjectName)' == 'Microsoft.AspNetCore.App.Ref') ">
|
||||||
('$(IsTargetingPackBuilding)' != 'false' AND '$(MSBuildProjectName)' == 'Microsoft.AspNetCore.App.Ref')) ">
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResolvedCompileFileDefinitions Remove="@(ResolvedCompileFileDefinitions)"
|
<ResolvedCompileFileDefinitions Remove="@(ResolvedCompileFileDefinitions)"
|
||||||
Condition=" '%(NuGetPackageId)' != 'Microsoft.Internal.Runtime.AspNetCore.Transport' AND
|
Condition=" '%(NuGetPackageId)' != 'Microsoft.Internal.Runtime.AspNetCore.Transport' AND
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
|
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
|
||||||
<IsShippingPackage>false</IsShippingPackage>
|
<IsShippingPackage>false</IsShippingPackage>
|
||||||
<IsPackable>true</IsPackable>
|
<IsPackable>true</IsPackable>
|
||||||
<IsPackable Condition="'$(IsTargetingPackBuilding)' == 'false'">false</IsPackable>
|
|
||||||
<PackageId>$(TargetingPackName).Internal</PackageId>
|
<PackageId>$(TargetingPackName).Internal</PackageId>
|
||||||
<VersionPrefix>$(TargetingPackVersionPrefix)</VersionPrefix>
|
<VersionPrefix>$(TargetingPackVersionPrefix)</VersionPrefix>
|
||||||
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
|
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
|
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
|
||||||
<IsPackable>true</IsPackable>
|
<IsPackable>true</IsPackable>
|
||||||
<IsPackable Condition="'$(IsTargetingPackBuilding)' == 'false'">false</IsPackable>
|
|
||||||
<PackageId>$(TargetingPackName)</PackageId>
|
<PackageId>$(TargetingPackName)</PackageId>
|
||||||
<VersionPrefix>$(TargetingPackVersionPrefix)</VersionPrefix>
|
<VersionPrefix>$(TargetingPackVersionPrefix)</VersionPrefix>
|
||||||
|
|
||||||
|
@ -89,8 +88,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- If this project won't produce a package, don't bother building anything. -->
|
<BuildDependsOn>
|
||||||
<BuildDependsOn Condition="'$(IsTargetingPackBuilding)' != 'false'">
|
|
||||||
$(BuildDependsOn);
|
$(BuildDependsOn);
|
||||||
_ResolveTargetingPackContent;
|
_ResolveTargetingPackContent;
|
||||||
GeneratePackageOverrides;
|
GeneratePackageOverrides;
|
||||||
|
@ -99,9 +97,6 @@ This package is an internal implementation of the .NET Core SDK and is not meant
|
||||||
_InstallTargetingPackIntoLocalDotNet;
|
_InstallTargetingPackIntoLocalDotNet;
|
||||||
_CreateTargetingPackArchive;
|
_CreateTargetingPackArchive;
|
||||||
</BuildDependsOn>
|
</BuildDependsOn>
|
||||||
|
|
||||||
<!-- No-op when in source build -->
|
|
||||||
<BuildDependsOn Condition="'$(IsTargetingPackBuilding)' == 'false'"/>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Override the default MSBuild targets so that nothing is returned from the project since it represents a collection of assemblies. -->
|
<!-- Override the default MSBuild targets so that nothing is returned from the project since it represents a collection of assemblies. -->
|
||||||
|
|
|
@ -55,10 +55,6 @@
|
||||||
<_Parameter1>TargetingPackLayoutRoot</_Parameter1>
|
<_Parameter1>TargetingPackLayoutRoot</_Parameter1>
|
||||||
<_Parameter2>$(TargetingPackLayoutRoot)</_Parameter2>
|
<_Parameter2>$(TargetingPackLayoutRoot)</_Parameter2>
|
||||||
</AssemblyAttribute>
|
</AssemblyAttribute>
|
||||||
<AssemblyAttribute Include="Microsoft.AspNetCore.TestData">
|
|
||||||
<_Parameter1>IsTargetingPackBuilding</_Parameter1>
|
|
||||||
<_Parameter2>$(IsTargetingPackBuilding)</_Parameter2>
|
|
||||||
</AssemblyAttribute>
|
|
||||||
<AssemblyAttribute Include="Microsoft.AspNetCore.TestData">
|
<AssemblyAttribute Include="Microsoft.AspNetCore.TestData">
|
||||||
<_Parameter1>VerifyAncmBinary</_Parameter1>
|
<_Parameter1>VerifyAncmBinary</_Parameter1>
|
||||||
<_Parameter2>$(VerifyAncmBinary)</_Parameter2>
|
<_Parameter2>$(VerifyAncmBinary)</_Parameter2>
|
||||||
|
@ -72,12 +68,6 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="$(RepoRoot)\src\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj"
|
<ProjectReference Include="$(RepoRoot)\src\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj"
|
||||||
Condition=" $(IsTargetingPackBuilding) "
|
|
||||||
Private="false"
|
|
||||||
ReferenceOutputAssembly="false"
|
|
||||||
SkipGetTargetFrameworkProperties="true" />
|
|
||||||
<ProjectReference Include="$(RepoRoot)\src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj"
|
|
||||||
Condition=" !$(IsTargetingPackBuilding) "
|
|
||||||
Private="false"
|
Private="false"
|
||||||
ReferenceOutputAssembly="false"
|
ReferenceOutputAssembly="false"
|
||||||
SkipGetTargetFrameworkProperties="true" />
|
SkipGetTargetFrameworkProperties="true" />
|
||||||
|
|
|
@ -18,7 +18,6 @@ public class TargetingPackTests
|
||||||
private readonly string _targetingPackTfm;
|
private readonly string _targetingPackTfm;
|
||||||
private readonly string _targetingPackRoot;
|
private readonly string _targetingPackRoot;
|
||||||
private readonly ITestOutputHelper _output;
|
private readonly ITestOutputHelper _output;
|
||||||
private readonly bool _isTargetingPackBuilding;
|
|
||||||
|
|
||||||
public TargetingPackTests(ITestOutputHelper output)
|
public TargetingPackTests(ITestOutputHelper output)
|
||||||
{
|
{
|
||||||
|
@ -33,17 +32,11 @@ public class TargetingPackTests
|
||||||
"packs",
|
"packs",
|
||||||
"Microsoft.AspNetCore.App.Ref",
|
"Microsoft.AspNetCore.App.Ref",
|
||||||
TestData.GetTestDataValue("TargetingPackVersion"));
|
TestData.GetTestDataValue("TargetingPackVersion"));
|
||||||
_isTargetingPackBuilding = bool.Parse(TestData.GetTestDataValue("IsTargetingPackBuilding"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void TargetingPackContainsListedAssemblies()
|
public void TargetingPackContainsListedAssemblies()
|
||||||
{
|
{
|
||||||
if (!_isTargetingPackBuilding)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var actualAssemblies = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll")
|
var actualAssemblies = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll")
|
||||||
.Select(Path.GetFileNameWithoutExtension)
|
.Select(Path.GetFileNameWithoutExtension)
|
||||||
.ToHashSet();
|
.ToHashSet();
|
||||||
|
@ -69,11 +62,6 @@ public class TargetingPackTests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void RefAssembliesHaveExpectedAssemblyVersions()
|
public void RefAssembliesHaveExpectedAssemblyVersions()
|
||||||
{
|
{
|
||||||
if (!_isTargetingPackBuilding)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
IEnumerable<string> dlls = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll", SearchOption.AllDirectories);
|
IEnumerable<string> dlls = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll", SearchOption.AllDirectories);
|
||||||
Assert.NotEmpty(dlls);
|
Assert.NotEmpty(dlls);
|
||||||
|
|
||||||
|
@ -94,11 +82,6 @@ public class TargetingPackTests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void RefAssemblyReferencesHaveExpectedAssemblyVersions()
|
public void RefAssemblyReferencesHaveExpectedAssemblyVersions()
|
||||||
{
|
{
|
||||||
if (!_isTargetingPackBuilding)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
IEnumerable<string> dlls = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll", SearchOption.AllDirectories);
|
IEnumerable<string> dlls = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll", SearchOption.AllDirectories);
|
||||||
Assert.NotEmpty(dlls);
|
Assert.NotEmpty(dlls);
|
||||||
|
|
||||||
|
@ -121,11 +104,6 @@ public class TargetingPackTests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void PackageOverridesContainsCorrectEntries()
|
public void PackageOverridesContainsCorrectEntries()
|
||||||
{
|
{
|
||||||
if (!_isTargetingPackBuilding)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var packageOverridePath = Path.Combine(_targetingPackRoot, "data", "PackageOverrides.txt");
|
var packageOverridePath = Path.Combine(_targetingPackRoot, "data", "PackageOverrides.txt");
|
||||||
|
|
||||||
AssertEx.FileExists(packageOverridePath);
|
AssertEx.FileExists(packageOverridePath);
|
||||||
|
@ -185,11 +163,6 @@ public class TargetingPackTests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void AssembliesAreReferenceAssemblies()
|
public void AssembliesAreReferenceAssemblies()
|
||||||
{
|
{
|
||||||
if (!_isTargetingPackBuilding)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
IEnumerable<string> dlls = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref"), "*.dll", SearchOption.AllDirectories);
|
IEnumerable<string> dlls = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref"), "*.dll", SearchOption.AllDirectories);
|
||||||
Assert.NotEmpty(dlls);
|
Assert.NotEmpty(dlls);
|
||||||
|
|
||||||
|
@ -219,11 +192,6 @@ public class TargetingPackTests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void PlatformManifestListsAllFiles()
|
public void PlatformManifestListsAllFiles()
|
||||||
{
|
{
|
||||||
if (!_isTargetingPackBuilding)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var platformManifestPath = Path.Combine(_targetingPackRoot, "data", "PlatformManifest.txt");
|
var platformManifestPath = Path.Combine(_targetingPackRoot, "data", "PlatformManifest.txt");
|
||||||
var expectedAssemblies = TestData.GetSharedFxDependencies()
|
var expectedAssemblies = TestData.GetSharedFxDependencies()
|
||||||
.Split(';', StringSplitOptions.RemoveEmptyEntries)
|
.Split(';', StringSplitOptions.RemoveEmptyEntries)
|
||||||
|
@ -289,11 +257,6 @@ public class TargetingPackTests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void FrameworkListListsContainsCorrectEntries()
|
public void FrameworkListListsContainsCorrectEntries()
|
||||||
{
|
{
|
||||||
if (!_isTargetingPackBuilding)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var frameworkListPath = Path.Combine(_targetingPackRoot, "data", "FrameworkList.xml");
|
var frameworkListPath = Path.Combine(_targetingPackRoot, "data", "FrameworkList.xml");
|
||||||
var expectedAssemblies = TestData.GetTargetingPackDependencies()
|
var expectedAssemblies = TestData.GetTargetingPackDependencies()
|
||||||
.Split(';', StringSplitOptions.RemoveEmptyEntries)
|
.Split(';', StringSplitOptions.RemoveEmptyEntries)
|
||||||
|
@ -361,7 +324,7 @@ public class TargetingPackTests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void FrameworkListListsContainsCorrectPaths()
|
public void FrameworkListListsContainsCorrectPaths()
|
||||||
{
|
{
|
||||||
if (!_isTargetingPackBuilding || string.IsNullOrEmpty(Environment.GetEnvironmentVariable("helix")))
|
if (string.IsNullOrEmpty(Environment.GetEnvironmentVariable("helix")))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -403,7 +366,7 @@ public class TargetingPackTests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void FrameworkListListsContainsAnalyzerLanguage()
|
public void FrameworkListListsContainsAnalyzerLanguage()
|
||||||
{
|
{
|
||||||
if (!_isTargetingPackBuilding || string.IsNullOrEmpty(Environment.GetEnvironmentVariable("helix")))
|
if (string.IsNullOrEmpty(Environment.GetEnvironmentVariable("helix")))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<Target Name="Pack" />
|
<Target Name="Pack" />
|
||||||
|
|
||||||
<Target Name="DebBuild" DependsOnTargets="$(DebBuildDependsOn)"
|
<Target Name="DebBuild" DependsOnTargets="$(DebBuildDependsOn)"
|
||||||
Condition="!( '$(IsTargetingPackBuilding)' == 'false' AND '$(MSBuildProjectName)' == 'Debian.TargetingPack' )">
|
Condition=" '$(MSBuildProjectName)' != 'Debian.TargetingPack' ">
|
||||||
<!-- Generate debian_config.json. We can't simply use WriteLinesToFile because of https://github.com/Microsoft/msbuild/issues/1622. Use our custom GenerateFileFromTemplate task instead -->
|
<!-- Generate debian_config.json. We can't simply use WriteLinesToFile because of https://github.com/Microsoft/msbuild/issues/1622. Use our custom GenerateFileFromTemplate task instead -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<DebianConfigProperties>
|
<DebianConfigProperties>
|
||||||
|
|
|
@ -44,9 +44,6 @@
|
||||||
<!-- Deb installers are versioned as M.N.P~PreReleaseVersionLabel-Build following the core-setup convention -->
|
<!-- Deb installers are versioned as M.N.P~PreReleaseVersionLabel-Build following the core-setup convention -->
|
||||||
<DebPackageVersion Condition="'$(VersionSuffix)' != ''">$(DebPackageVersion)~$(VersionSuffix)</DebPackageVersion>
|
<DebPackageVersion Condition="'$(VersionSuffix)' != ''">$(DebPackageVersion)~$(VersionSuffix)</DebPackageVersion>
|
||||||
<PackageRevision>1</PackageRevision>
|
<PackageRevision>1</PackageRevision>
|
||||||
|
|
||||||
<!-- Suppresses building this project completely during servicing builds. -->
|
|
||||||
<DebBuildDependsOn Condition="'$(IsTargetingPackBuilding)' == 'false'" />
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
<Target Name="Pack" />
|
<Target Name="Pack" />
|
||||||
|
|
||||||
<Target Name="RpmBuild" DependsOnTargets="$(RpmBuildDependsOn)"
|
<Target Name="RpmBuild" DependsOnTargets="$(RpmBuildDependsOn)"
|
||||||
Condition="!( '$(IsTargetingPackBuilding)' == 'false' AND '$(MSBuildProjectName)' == 'Rpm.TargetingPack' )">
|
Condition=" '$(MSBuildProjectName)' != 'Rpm.TargetingPack' ">
|
||||||
<!-- Create layout: Create changelog -->
|
<!-- Create layout: Create changelog -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ChangeLogProps>DATE=$([System.DateTime]::UtcNow.ToString(ddd MMM dd yyyy))</ChangeLogProps>
|
<ChangeLogProps>DATE=$([System.DateTime]::UtcNow.ToString(ddd MMM dd yyyy))</ChangeLogProps>
|
||||||
|
|
|
@ -39,8 +39,5 @@
|
||||||
<!-- Set package revision to '1' for RTM releases, but include the build number in pre-releases -->
|
<!-- Set package revision to '1' for RTM releases, but include the build number in pre-releases -->
|
||||||
<PackageRevision Condition=" '$(VersionSuffix)' == '' ">1</PackageRevision>
|
<PackageRevision Condition=" '$(VersionSuffix)' == '' ">1</PackageRevision>
|
||||||
<PackageRevision Condition=" '$(VersionSuffix)' != '' ">0.1.$(VersionSuffix.Replace('-', '_'))</PackageRevision>
|
<PackageRevision Condition=" '$(VersionSuffix)' != '' ">0.1.$(VersionSuffix.Replace('-', '_'))</PackageRevision>
|
||||||
|
|
||||||
<!-- Suppresses building this project completely during servicing builds. -->
|
|
||||||
<RpmBuildDependsOn Condition="'$(IsTargetingPackBuilding)' == 'false'" />
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
<OutputType>Package</OutputType>
|
<OutputType>Package</OutputType>
|
||||||
<Cabinet>targeting_pack_$(Platform).cab</Cabinet>
|
<Cabinet>targeting_pack_$(Platform).cab</Cabinet>
|
||||||
<IsShipping>true</IsShipping>
|
<IsShipping>true</IsShipping>
|
||||||
<SkipCopyToArtifactsDirectory Condition="'$(IsTargetingPackBuilding)' == 'false'">true</SkipCopyToArtifactsDirectory>
|
|
||||||
<ProjectGuid>0AC34F1B-8056-4FFB-A398-E6BB7D67B48D</ProjectGuid>
|
<ProjectGuid>0AC34F1B-8056-4FFB-A398-E6BB7D67B48D</ProjectGuid>
|
||||||
<HarvestDirectoryAutoGenerateGuids>true</HarvestDirectoryAutoGenerateGuids>
|
<HarvestDirectoryAutoGenerateGuids>true</HarvestDirectoryAutoGenerateGuids>
|
||||||
<HarvestDirectorySuppressSpecificWarnings>5150;5151</HarvestDirectorySuppressSpecificWarnings>
|
<HarvestDirectorySuppressSpecificWarnings>5150;5151</HarvestDirectorySuppressSpecificWarnings>
|
||||||
|
@ -79,13 +78,9 @@
|
||||||
<ProductName>Microsoft ASP.NET Core $(PackageBrandingVersion) Targeting Pack ($(Platform))</ProductName>
|
<ProductName>Microsoft ASP.NET Core $(PackageBrandingVersion) Targeting Pack ($(Platform))</ProductName>
|
||||||
<PackageFileName>$(OutputName)$(TargetExt)</PackageFileName>
|
<PackageFileName>$(OutputName)$(TargetExt)</PackageFileName>
|
||||||
<DefineConstants>$(DefineConstants);ProductName=$(ProductName)</DefineConstants>
|
<DefineConstants>$(DefineConstants);ProductName=$(ProductName)</DefineConstants>
|
||||||
|
|
||||||
<!-- Suppresses building this project completely during servicing builds. -->
|
|
||||||
<BuildDependsOn Condition="'$(IsTargetingPackBuilding)' == 'false'" />
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="CreateTargetingPackNugetPackage" AfterTargets="CopyToArtifactsDirectory;Build"
|
<Target Name="CreateTargetingPackNugetPackage" AfterTargets="CopyToArtifactsDirectory;Build">
|
||||||
Condition="'$(IsTargetingPackBuilding)' != 'false'">
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<MsiFullPath>$(InstallersOutputPath)$(PackageFileName)</MsiFullPath>
|
<MsiFullPath>$(InstallersOutputPath)$(PackageFileName)</MsiFullPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
|
@ -25,12 +25,6 @@
|
||||||
<HostingStartupRuntimeStoreTargets Include="$(DefaultNetCoreTargetFramework)" Runtime="$(TargetRuntimeIdentifier)" />
|
<HostingStartupRuntimeStoreTargets Include="$(DefaultNetCoreTargetFramework)" Runtime="$(TargetRuntimeIdentifier)" />
|
||||||
|
|
||||||
<ProjectReference Include="..\..\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj"
|
<ProjectReference Include="..\..\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj"
|
||||||
Condition=" $(IsTargetingPackBuilding) "
|
|
||||||
Private="false"
|
|
||||||
ReferenceOutputAssembly="false"
|
|
||||||
SkipGetTargetFrameworkProperties="true" />
|
|
||||||
<ProjectReference Include="..\..\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj"
|
|
||||||
Condition=" !$(IsTargetingPackBuilding) "
|
|
||||||
Private="false"
|
Private="false"
|
||||||
ReferenceOutputAssembly="false"
|
ReferenceOutputAssembly="false"
|
||||||
SkipGetTargetFrameworkProperties="true" />
|
SkipGetTargetFrameworkProperties="true" />
|
||||||
|
|
Загрузка…
Ссылка в новой задаче