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

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrennan <brecon@microsoft.com>2020-06-08 20:13:36 +0300
committerGitHub <noreply@github.com>2020-06-08 20:13:36 +0300
commitaeb28d4b830c9e9c540fbcfcc6c8c5db137f387b (patch)
tree2dddf0f194e04c515fc4d402262fd4333bf16c1a /Directory.Build.targets
parent70797620089969e8cf88e522bd400cf8547c77d5 (diff)
Keep building packages that are marked packable (#22616)
Diffstat (limited to 'Directory.Build.targets')
-rw-r--r--Directory.Build.targets7
1 files changed, 4 insertions, 3 deletions
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 695ae02995..f89af5200c 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -5,14 +5,15 @@
<!-- Analyzer package are needed in source build for WebSDK -->
<ExcludeFromSourceBuild
Condition="'$(ExcludeFromSourceBuild)' == '' and '$(DotNetBuildFromSource)' == 'true' and '$(IsAspNetCoreApp)' != 'true' and '$(IsReferenceAssemblyProject)' != 'true' and '$(IsAnalyzersProject)' != 'true'">true</ExcludeFromSourceBuild>
-
+
<!-- If the user has specified that they want to skip building any test related projects with SkipTestBuild,
suppress all targets for TestProjects using ExcludeFromBuild. -->
- <ExcludeFromBuild Condition="'$(SkipTestBuild)' == 'true' and
+ <ExcludeFromBuild Condition="'$(IsPackable)' != 'true' and
+ '$(SkipTestBuild)' == 'true' and
('$(IsTestProject)' == 'true' or
'$(IsUnitTestProject)' == 'true' or
'$(IsTestAssetProject)' == 'true' or
- '$(IsBenchmarkProject)' == 'true' or
+ '$(IsBenchmarkProject)' == 'true' or
'$(IsSampleProject)' == 'true' or
'$(IsSpecificationTestProject)' == 'true')">true</ExcludeFromBuild>
</PropertyGroup>