Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>2021-07-06 16:08:40 +0300
committerGitHub <noreply@github.com>2021-07-06 16:08:40 +0300
commit8e3d6cd3fecf2576608680faefa5cf3aefa9480d (patch)
treedad2fd42d115b44e6271423dd2fbfef54c7d5468 /Directory.Build.targets
parent566b53a66b0afa573f0dae33d07c8de9685aa5c8 (diff)
port system.diagnostics.performanceCounter (#55134)
* port system.diagnostics.performanceCounter * remvoing custom and private targets hook and remove unused package rferences
Diffstat (limited to 'Directory.Build.targets')
-rw-r--r--Directory.Build.targets5
1 files changed, 3 insertions, 2 deletions
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 0460647e6de..e390cc3dda3 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -54,7 +54,9 @@
<PackageDescription Condition="'$(PackageDescription)' == '' and '$(UseRuntimePackageDisclaimer)' == 'true'">$(RuntimePackageDisclaimer)</PackageDescription>
<!-- Keep in sync as required by the Packaging SDK in Arcade. -->
<Description>$(PackageDescription)</Description>
+ <!-- BeforePack hook should be removed after porting all the projects to dotnet pack. -->
<BeforePack>$(BeforePack);AddNETStandardCompatErrorFileForPackaging</BeforePack>
+ <GenerateNuspecDependsOn>AddNETStandardCompatErrorFileForPackaging;$(GenerateNuspecDependsOn)</GenerateNuspecDependsOn>
</PropertyGroup>
<!-- Remove when https://github.com/NuGet/Home/issues/10405 is implemented and consumed. -->
@@ -76,8 +78,7 @@
<Target Name="AddNETStandardCompatErrorFileForPackaging"
Condition="'@(NETStandardCompatError)' != ''"
Inputs="%(NETStandardCompatError.Identity)"
- Outputs="unused"
- BeforeTargets="GetFiles">
+ Outputs="unused">
<PropertyGroup>
<_NETStandardCompatErrorFilePath>$(BaseIntermediateOutputPath)netstandardcompaterrors\%(NETStandardCompatError.Identity)\$(PackageId).targets</_NETStandardCompatErrorFilePath>
<_NETStandardCompatErrorFileTarget>NETStandardCompatError_$(PackageId.Replace('.', '_'))_$([System.String]::new('%(NETStandardCompatError.Supported)').Replace('.', '_'))</_NETStandardCompatErrorFileTarget>