Skip to content

Commit df3e4b9

Browse files
authored
Backport infrastructure cleanup to share sources and project references (#4513)
1 parent ae11d5d commit df3e4b9

File tree

17 files changed

+10
-93
lines changed

17 files changed

+10
-93
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ scripts/tmp/
2626
.dotnet/
2727
.tools/
2828
launchSettings.json
29+
korebuild-lock.txt

Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<PropertyGroup Condition=" '$(IsPackable)' != 'false' AND '$(AspNetCorePatchVersion)' != '0' ">
1111
<!-- Always include framework metapackages in patch updates. -->
12-
<IsPackageInThisPatch Condition="'$(IsFrameworkMetapackage)' == 'true'">true</IsPackageInThisPatch>
12+
<IsPackageInThisPatch Condition="'$(IsFrameworkMetapackage)' == 'true' OR '$(IsSharedSourcePackage)' == 'true' ">true</IsPackageInThisPatch>
1313
<IsPackageInThisPatch Condition="'$(IsPackageInThisPatch)' == ''">$(PackagesInPatch.Contains(' $(PackageId);'))</IsPackageInThisPatch>
1414
</PropertyGroup>
1515

build/artifacts.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@
193193
<PackageArtifact Include="RazorPageGenerator" Category="noship" />
194194

195195
<PackageArtifact Include="Microsoft.AspNetCore.Hosting.WebHostBuilderFactory.Sources" Category="noship"/>
196-
<PackageArtifact Include="Microsoft.Extensions.Buffers.Testing.Sources" Category="noship"/>
197196
</ItemGroup>
198197

199198
</Project>

build/repo.props

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<SharedSourceDirectories Include="$([System.IO.Directory]::GetDirectories($(SharedSourcesFolder)))" />
20+
<SharedSourceDirectories Include="$(SharedSourcesFolder)Hosting.WebHostBuilderFactory\" />
2121
</ItemGroup>
2222

2323
<ItemGroup>
@@ -70,8 +70,7 @@
7070
Exclude="
7171
@(ProjectToExclude);
7272
$(RepositoryRoot)**\bin\**\*;
73-
$(RepositoryRoot)**\obj\**\*;
74-
$(RepositoryRoot)**\AutobahnTestApp\**\*;" />
73+
$(RepositoryRoot)**\obj\**\*;" />
7574
</ItemGroup>
7675

7776
<!-- Properties for publishing -->

src/MetaPackages/korebuild-lock.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/ServerTests/korebuild-lock.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/Servers/HttpSys/.gitignore

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
{
2-
"adx-nonshipping": {
3-
"rules": [],
4-
"packages": {
5-
"Microsoft.AspNetCore.HttpSys.Sources": {}
6-
}
7-
},
82
"Default": {
93
"rules": [
104
"DefaultCompositeRule"
115
]
126
}
13-
}
7+
}

src/Servers/HttpSys/test/Directory.Build.props

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/Servers/Kestrel/Core/test/Microsoft.AspNetCore.Server.Kestrel.Core.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<ItemGroup>
99
<Compile Include="$(KestrelSharedSourceRoot)test\**\*.cs" />
10-
<Compile Include="$(RepositoryRoot)\src\Shared\Buffers.Testing\*.cs" />
10+
<Compile Include="$(SharedSourceRoot)Buffers.Testing\*.cs" />
1111
<Content Include="$(KestrelSharedSourceRoot)test\TestCertificates\*.pfx" CopyToOutputDirectory="PreserveNewest" />
1212
</ItemGroup>
1313

0 commit comments

Comments
 (0)