Disable building targeting pack
- `$(IsServicingBuild)` disabled at the moment
This commit is contained in:
parent
2d9d13aa38
commit
3c65c03ef8
|
|
@ -86,7 +86,7 @@
|
|||
<TargetingPackInstallerBaseName>aspnetcore-targeting-pack</TargetingPackInstallerBaseName>
|
||||
|
||||
<!-- Used to only produce targeting pack installers/packages once per major.minor. -->
|
||||
<IsTargetingPackBuilding Condition="'$(IsServicingBuild)' == 'true' AND '$(DotNetBuildFromSource)' != 'true'">false</IsTargetingPackBuilding>
|
||||
<IsTargetingPackBuilding Condition="'$(AspNetCorePatchVersion)' == '0' AND '$(DotNetBuildFromSource)' != 'true'">false</IsTargetingPackBuilding>
|
||||
|
||||
<!--
|
||||
Archives and installers using this prefix are intended for internal-use only.
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@
|
|||
Text="Cannot reference "%(_InvalidReferenceToNonSharedFxAssembly.Identity)". This dependency is not in the shared framework. See docs/SharedFramework.md for instructions on how to modify what is in the shared framework." />
|
||||
</Target>
|
||||
|
||||
<Target Name="_WarnAboutRedundantRef" AfterTargets="ResolveFrameworkReferences">
|
||||
<Target Name="_WarnAboutRedundantRef" AfterTargets="ResolveFrameworkReferences;ProcessFrameworkReferences">
|
||||
<Warning Condition="@(FrameworkReference->WithMetadataValue('Identity', 'Microsoft.AspNetCore.App')->Count()) > 1"
|
||||
Text="Redundant <FrameworkReference>. If you have an explicit item in the project file, you might be able to remove it. Some SDKs, like Microsoft.NET.Sdk.Web, add this implicitly." />
|
||||
</Target>
|
||||
|
|
|
|||
Loading…
Reference in New Issue