Skip to content

Commit a34d389

Browse files
author
=
committed
Try to exclude Ref package
This should be excluded already, and is already excluded locally not sure why it's being built on the CI
1 parent 6f8d9ba commit a34d389

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

eng/Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@
154154
$(RepoRoot)src\Analyzers\**\*.csproj;
155155
$(RepoRoot)src\ProjectTemplates\*\*.csproj;
156156
$(RepoRoot)src\ProjectTemplates\testassets\*\*.csproj;
157-
" />
158-
<DotNetProjects Remove="
157+
"
158+
Exclude="
159159
@(ProjectToBuild);
160160
@(ProjectToExclude);
161161
$(RepoRoot)**\node_modules\**\*;

src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<IsShippingPackage>true</IsShippingPackage>
77
<IsPackable>true</IsPackable>
88
<IsPackable Condition="'$(IsTargetingPackBuilding)' == 'false'">false</IsPackable>
9+
<!-- Exclude this project from source build -->
10+
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
911
<PackageId>$(TargetingPackName)</PackageId>
1012
<VersionPrefix>$(TargetingPackVersionPrefix)</VersionPrefix>
1113

0 commit comments

Comments
 (0)