Skip to content

Commit 28f9139

Browse files
authored
Merge branch 'master' into merge/release/5.0-preview3-to-master
2 parents 905f580 + 2700138 commit 28f9139

File tree

312 files changed

+9858
-1829
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

312 files changed

+9858
-1829
lines changed

.azure/pipelines/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ variables:
7171
# The following extra properties are not set when testing. Use with final build.[cmd,sh] of asset-producing jobs.
7272
- name: _PublishArgs
7373
value: /p:Publish=true
74+
/p:GenerateChecksums=true
7475
/p:DotNetPublishBlobFeedKey=$(dotnetfeed-storage-access-key-1)
7576
/p:DotNetPublishBlobFeedUrl=https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
7677
/p:DotNetPublishToBlobFeed=$(_DotNetPublishToBlobFeed)

.vsconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": "1.0",
3+
"components": [
4+
"Microsoft.Net.Component.4.6.1.TargetingPack",
5+
"Microsoft.Net.Component.4.7.2.SDK",
6+
"Microsoft.Net.Component.4.7.2.TargetingPack",
7+
"Microsoft.VisualStudio.Workload.ManagedDesktop",
8+
"Microsoft.VisualStudio.Workload.NetCoreTools",
9+
"Microsoft.VisualStudio.Workload.NetWeb",
10+
"Microsoft.VisualStudio.Workload.VisualStudioExtension"
11+
]
12+
}

CODE-OF-CONDUCT.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Code of Conduct
2+
3+
This project has adopted the code of conduct defined by the Contributor Covenant
4+
to clarify expected behavior in our community.
5+
6+
For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ Your pull request will now go through extensive checks by the subject matter exp
5757

5858
## Code of conduct
5959

60-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information, see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
60+
See [CODE-OF-CONDUCT.md](./CODE-OF-CONDUCT.md)

Directory.Build.props

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<IsReferenceAssemblyProject Condition="$(MSBuildProjectDirectory.EndsWith('ref'))">true</IsReferenceAssemblyProject>
1414
<OutDirName Condition="'$(IsReferenceAssemblyProject)' == 'true'">$(MSBuildProjectName)-ref</OutDirName>
1515

16-
<IsBenchmarkProject Condition="$(MSBuildProjectName.EndsWith('.Performance')) OR $(RepoRelativeProjectDir.Contains('perf'))">true</IsBenchmarkProject>
16+
<IsBenchmarkProject Condition="$(MSBuildProjectName.EndsWith('.Performance')) OR $(RepoRelativeProjectDir.Contains('perf')) OR $(RepoRelativeProjectDir.Contains('benchmarkapps'))">true</IsBenchmarkProject>
1717
<IsSpecificationTestProject Condition="$(MSBuildProjectName.EndsWith('.Specification.Tests'))">true</IsSpecificationTestProject>
1818
<IsUnitTestProject>false</IsUnitTestProject>
1919
<IsUnitTestProject Condition="'$(IsSpecificationTestProject)' != 'true' and ( $(MSBuildProjectName.EndsWith('Tests')) or $(MSBuildProjectName.EndsWith('.Test')) or $(MSBuildProjectName.EndsWith('.FunctionalTest')) )">true</IsUnitTestProject>
@@ -105,8 +105,18 @@
105105
<InternalInstallerBaseName>$(RuntimeInstallerBaseName)-internal</InternalInstallerBaseName>
106106
</PropertyGroup>
107107

108-
<ItemGroup Condition="'$(DisablePubternalApiCheck)' != 'true' AND '$(IsTestProject)' != 'true' AND '$(IsBenchmarkProject)' != 'true' AND '$(IsTestAssetProject)' != 'true'">
109-
<PackageReference Include="Internal.AspNetCore.Analyzers" PrivateAssets="All" Version="$(InternalAspNetCoreAnalyzersPackageVersion)" IsImplicitlyDefined="true" />
108+
<ItemGroup
109+
Condition="'$(DisablePubternalApiCheck)' != 'true'
110+
AND '$(IsTestProject)' != 'true'
111+
AND '$(IsBenchmarkProject)' != 'true'
112+
AND '$(IsTestAssetProject)' != 'true'
113+
AND '$(MSBuildProjectName)' != 'Internal.AspNetCore.Analyzers'
114+
AND '$(MSBuildProjectExtension)' == '.csproj'">
115+
<ProjectReference
116+
Include="$(RepoRoot)src\Analyzers\Internal.AspNetCore.Analyzers\src\Internal.AspNetCore.Analyzers.csproj"
117+
PrivateAssets="All"
118+
Version="$(InternalAspNetCoreAnalyzersPackageVersion)"
119+
IsImplicitlyDefined="true" />
110120
</ItemGroup>
111121

112122
<!-- Compilation options which apply to all languages. Language-specific options should be set in eng/targets/$(lang).Common.props -->
@@ -179,7 +189,6 @@
179189

180190
<ArchiveExtension>.tar.gz</ArchiveExtension>
181191
<ArchiveExtension Condition="'$(TargetOsName)' == 'win'">.zip</ArchiveExtension>
182-
<ChecksumExtension>.sha512</ChecksumExtension>
183192
</PropertyGroup>
184193

185194
<Import Project="eng\Workarounds.props" />

Directory.Build.targets

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@
105105
<SkipTests Condition="'$(SkipHelixReadyTests)' == 'true' AND '$(BuildHelixPayload)' == 'true'">true</SkipTests>
106106
</PropertyGroup>
107107

108+
<PropertyGroup>
109+
<PackageThirdPartyNoticesFile Condition="'$(PackageThirdPartyNoticesFile)' == ''">$(RepoRoot)THIRD-PARTY-NOTICES.TXT</PackageThirdPartyNoticesFile>
110+
</PropertyGroup>
111+
112+
<ItemGroup Condition="'$(IsPackable)' == 'true'">
113+
<None Include="$(PackageThirdPartyNoticesFile)" Pack="true" PackagePath="." />
114+
</ItemGroup>
115+
108116
<ItemGroup Condition="'$(Language)' == 'C#' AND '$(IsReferenceAssemblyProject)' == 'true'">
109117
<Compile Include="$(SharedSourceRoot)ReferenceAssemblyInfo.cs" LinkBase="Properties" />
110118
</ItemGroup>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Follow the [Getting Started](https://docs.microsoft.com/aspnet/core/getting-star
99

1010
Also check out the [.NET Homepage](https://www.microsoft.com/net) for released versions of .NET, getting started guides, and learning resources.
1111

12-
See the [Issue Management Policies](https://github.com/dotnet/aspnetcore/blob/anurse/issue-policies/docs/IssueManagementPolicies.md) document for more information on how we handle incoming issues.
12+
See the [Issue Management Policies](https://github.com/dotnet/aspnetcore/blob/master/docs/IssueManagementPolicies.md) document for more information on how we handle incoming issues.
1313

1414
## How to Engage, Contribute, and Give Feedback
1515

@@ -37,4 +37,4 @@ These are some other repos for related projects:
3737

3838
## Code of conduct
3939

40-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
40+
See [CODE-OF-CONDUCT](./CODE-OF-CONDUCT.md)

eng/AfterSigning.targets

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<Project>
2+
3+
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(GenerateChecksums)' == 'true'" />
4+
5+
<PropertyGroup Condition="'$(GenerateChecksums)' == 'true'">
6+
<!-- The one use of ArtifactsDir in Publish.proj adds an additional slash, confusing itself. -->
7+
<ArtifactsDir Condition=" HasTrailingSlash('$(ArtifactsDir)') ">$(ArtifactsDir.Substring(0, $([MSBuild]::Subtract($(ArtifactsDir.Length), 1))))</ArtifactsDir>
8+
<!-- $(InstallersOutputPath) is not defined. Root Directory.Build.props is not imported. -->
9+
<InstallersOutputPath>$(ArtifactsDir)\installers\</InstallersOutputPath>
10+
</PropertyGroup>
11+
12+
<Target Name="PopulateGenerateChecksumItems"
13+
Condition="'$(GenerateChecksums)' == 'true'"
14+
AfterTargets="Build"
15+
BeforeTargets="GenerateChecksums" >
16+
17+
<ItemGroup>
18+
<InstallerFiles Include="$(InstallersOutputPath)**\*.msi" />
19+
<InstallerFiles Include="$(InstallersOutputPath)**\*.exe" />
20+
<InstallerFiles Include="$(InstallersOutputPath)**\*.zip" />
21+
<InstallerFiles Include="$(InstallersOutputPath)**\*.tar.gz" />
22+
<InstallerFiles Include="$(InstallersOutputPath)**\*.wixlib" />
23+
<InstallerFiles Include="$(InstallersOutputPath)**\*.rpm" />
24+
<GenerateChecksumItems Include="%(InstallerFiles.Identity)" >
25+
<DestinationPath>%(FullPath).sha512</DestinationPath>
26+
</GenerateChecksumItems>
27+
</ItemGroup>
28+
29+
</Target>
30+
31+
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(GenerateChecksums)' == 'true'" />
32+
33+
</Project>

eng/Baseline.Designer.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
</PropertyGroup>
77
<!-- Package: AspNetCoreRuntime.3.0.x64-->
88
<PropertyGroup Condition=" '$(PackageId)' == 'AspNetCoreRuntime.3.0.x64' ">
9-
<BaselinePackageVersion>3.0.2</BaselinePackageVersion>
9+
<BaselinePackageVersion>3.0.3</BaselinePackageVersion>
1010
</PropertyGroup>
1111
<ItemGroup Condition=" '$(PackageId)' == 'AspNetCoreRuntime.3.0.x64' AND '$(TargetFramework)' == 'net461' " />
1212
<!-- Package: AspNetCoreRuntime.3.0.x86-->
1313
<PropertyGroup Condition=" '$(PackageId)' == 'AspNetCoreRuntime.3.0.x86' ">
14-
<BaselinePackageVersion>3.0.2</BaselinePackageVersion>
14+
<BaselinePackageVersion>3.0.3</BaselinePackageVersion>
1515
</PropertyGroup>
1616
<ItemGroup Condition=" '$(PackageId)' == 'AspNetCoreRuntime.3.0.x86' AND '$(TargetFramework)' == 'net461' " />
1717
<!-- Package: dotnet-sql-cache-->

eng/Baseline.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Update this list when preparing for a new patch.
55
66
-->
77
<Baseline Version="3.1.3">
8-
<Package Id="AspNetCoreRuntime.3.0.x64" Version="3.0.2" />
9-
<Package Id="AspNetCoreRuntime.3.0.x86" Version="3.0.2" />
8+
<Package Id="AspNetCoreRuntime.3.0.x64" Version="3.0.3" />
9+
<Package Id="AspNetCoreRuntime.3.0.x86" Version="3.0.3" />
1010
<Package Id="dotnet-sql-cache" Version="3.1.3" />
1111
<Package Id="Microsoft.AspNetCore.ApiAuthorization.IdentityServer" Version="3.1.3" />
1212
<Package Id="Microsoft.AspNetCore.App.Runtime.win-x64" Version="3.1.3" />

0 commit comments

Comments
 (0)