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:
authorWilliam Godbe <wigodbe@microsoft.com>2022-03-11 02:41:00 +0300
committerGitHub <noreply@github.com>2022-03-11 02:41:00 +0300
commit54a7109eade9ce07eae452d4702a791638584f22 (patch)
treed41cab50060e0b0a8c31c6e5a1a357dde6c203ec /Directory.Build.targets
parent5409dc0a6e052fdb52a7a72d4be5ca09bc384e6f (diff)
Build ProjectTemplates in Source-Build (#40643)
* Build ProjectTemplates in Source-Build * Fixup
Diffstat (limited to 'Directory.Build.targets')
-rw-r--r--Directory.Build.targets9
1 files changed, 7 insertions, 2 deletions
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 824000f5ba..4bb0bb189c 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -1,9 +1,14 @@
<Project>
<PropertyGroup>
- <!-- Only build Microsoft.AspNetCore.App, Microsoft.AspNetCore.App.Ref, and ref/ assemblies in source build. -->
+ <!-- Only build Microsoft.AspNetCore.App, Microsoft.AspNetCore.App.Ref, ref/ assemblies, and ProjectTemplates in source build. -->
<!-- Analyzer package are needed in source build for WebSDK -->
<ExcludeFromSourceBuild
- Condition="'$(ExcludeFromSourceBuild)' == '' and '$(DotNetBuildFromSource)' == 'true' and '$(IsAspNetCoreApp)' != 'true' and '$(MSBuildProjectName)' != '$(TargetingPackName)' and '$(IsAnalyzersProject)' != 'true'">true</ExcludeFromSourceBuild>
+ Condition="'$(ExcludeFromSourceBuild)' == '' and
+ '$(DotNetBuildFromSource)' == 'true' and
+ '$(IsAspNetCoreApp)' != 'true' and
+ '$(MSBuildProjectName)' != '$(TargetingPackName)' and
+ '$(IsAnalyzersProject)' != 'true' and
+ '$(IsProjectTemplateProject)' != '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. -->