Skip to content

Commit

Permalink
Backport infrastructure cleanup to share sources and project referenc…
Browse files Browse the repository at this point in the history
…es (dotnet#4513)
  • Loading branch information
natemcmaster authored Dec 7, 2018
1 parent ae11d5d commit df3e4b9
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 93 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ scripts/tmp/
.dotnet/
.tools/
launchSettings.json
korebuild-lock.txt
2 changes: 1 addition & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

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

Expand Down
1 change: 0 additions & 1 deletion build/artifacts.props
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@
<PackageArtifact Include="RazorPageGenerator" Category="noship" />

<PackageArtifact Include="Microsoft.AspNetCore.Hosting.WebHostBuilderFactory.Sources" Category="noship"/>
<PackageArtifact Include="Microsoft.Extensions.Buffers.Testing.Sources" Category="noship"/>
</ItemGroup>

</Project>
5 changes: 2 additions & 3 deletions build/repo.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<SharedSourceDirectories Include="$([System.IO.Directory]::GetDirectories($(SharedSourcesFolder)))" />
<SharedSourceDirectories Include="$(SharedSourcesFolder)Hosting.WebHostBuilderFactory\" />
</ItemGroup>

<ItemGroup>
Expand Down Expand Up @@ -70,8 +70,7 @@
Exclude="
@(ProjectToExclude);
$(RepositoryRoot)**\bin\**\*;
$(RepositoryRoot)**\obj\**\*;
$(RepositoryRoot)**\AutobahnTestApp\**\*;" />
$(RepositoryRoot)**\obj\**\*;" />
</ItemGroup>

<!-- Properties for publishing -->
Expand Down
2 changes: 0 additions & 2 deletions src/MetaPackages/korebuild-lock.txt

This file was deleted.

2 changes: 0 additions & 2 deletions src/ServerTests/korebuild-lock.txt

This file was deleted.

32 changes: 0 additions & 32 deletions src/Servers/HttpSys/.gitignore

This file was deleted.

8 changes: 1 addition & 7 deletions src/Servers/HttpSys/NuGetPackageVerifier.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
{
"adx-nonshipping": {
"rules": [],
"packages": {
"Microsoft.AspNetCore.HttpSys.Sources": {}
}
},
"Default": {
"rules": [
"DefaultCompositeRule"
]
}
}
}
14 changes: 0 additions & 14 deletions src/Servers/HttpSys/test/Directory.Build.props

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<ItemGroup>
<Compile Include="$(KestrelSharedSourceRoot)test\**\*.cs" />
<Compile Include="$(RepositoryRoot)\src\Shared\Buffers.Testing\*.cs" />
<Compile Include="$(SharedSourceRoot)Buffers.Testing\*.cs" />
<Content Include="$(KestrelSharedSourceRoot)test\TestCertificates\*.pfx" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

Expand Down
6 changes: 0 additions & 6 deletions src/Shared/Buffers.Testing/Directory.Build.props

This file was deleted.

7 changes: 0 additions & 7 deletions src/Shared/Diagnostics/Directory.Build.props

This file was deleted.

6 changes: 0 additions & 6 deletions src/Shared/Directory.Build.props

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" />
<PropertyGroup>
<PackageId>Microsoft.AspNetCore.Hosting.WebHostBuilderFactory.Sources</PackageId>
<IsSharedSourcePackage>true</IsSharedSourcePackage>
<IncludeSymbols>false</IncludeSymbols>
</PropertyGroup>
</Project>
</Project>
7 changes: 0 additions & 7 deletions src/Shared/HttpSys/Directory.Build.props

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</PropertyGroup>

<ItemGroup>
<Compile Include="$(SharedSourceRoot)Buffers.Testing\**\*.cs" />
<Content Include="..\xunit.runner.json" Link="xunit.runner.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Expand All @@ -19,7 +20,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.Core" Version="$(MicrosoftAspNetCoreAuthenticationCorePackageVersion)" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="$(MicrosoftAspNetCoreHttpPackageVersion)" />
<PackageReference Include="Microsoft.Extensions.Buffers.Testing.Sources" Version="$(MicrosoftExtensionsBuffersTestingSourcesPackageVersion)" />
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonPackageVersion)" />
</ItemGroup>

Expand Down
2 changes: 0 additions & 2 deletions src/Templating/korebuild-lock.txt

This file was deleted.

0 comments on commit df3e4b9

Please sign in to comment.