Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

Commit d96c1ff

Browse files
Prepare for 2.6.0 release and LicenseUrl update (#832)
* Prepare for 2.6.0 release and LicenseUrl update * Changelog * Use .NET 2.1.5 to create package on Linux build
1 parent de1af62 commit d96c1ff

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

.vsts/linux-build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ queue:
33
steps:
44

55
- task: DotNetCoreInstaller@0
6-
displayName: install dotnet core 2.0
6+
displayName: install dotnet core 2.1.500
77
inputs:
8-
version: "2.0.0"
8+
version: "2.1.500"
99

1010
- task: DotNetCoreCLI@1
1111
displayName: Restore solutions
@@ -47,6 +47,11 @@ steps:
4747
testRunner: "VSTest"
4848
testResultsFiles: "**/*.trx"
4949

50+
- task: DotNetCoreInstaller@0
51+
displayName: install dotnet core 2.1.500
52+
inputs:
53+
version: "2.1.500"
54+
5055
- task: DotNetCoreCLI@1
5156
displayName: Package Nuget
5257
inputs:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
## Version 2.6.0
4+
- Updated Web/Base SDK version dependency to 2.9.0
45
- [Fix: TypeInitializationException when Microsoft.AspNetCore.Hosting and Microsoft.AspNetCore.Hosting.Abstractions versions do not match](https://github.com/Microsoft/ApplicationInsights-aspnetcore/pull/821)
56

67
## Version 2.6.0-beta3

NugetAudit.ps1

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Param(
1515

1616
$requiredCopyright = "$([char]0x00A9) Microsoft Corporation. All rights reserved.";#"© Microsoft Corporation. All rights reserved.";
1717
$expectedProjectUrl = "https://go.microsoft.com/fwlink/?LinkId=392727"; # Application Insights Project Url
18-
$expectedLicenseUrl = "https://go.microsoft.com/fwlink/?LinkID=510709"; # Application Insights license Url
18+
$expectedLicense = "MIT"; # MIT License SPDX ID
1919
$expectedOwner = "AppInsightsSdk"; # Application Insights Nuget Account
2020
$expectedTags = @("Azure","Monitoring");
2121

@@ -175,14 +175,13 @@ function Get-IsValidProjectUrl([xml]$nuspecXml) {
175175
Test-Condition ($projectUrl -eq $expectedProjectUrl) $message $requirement;
176176
}
177177

178-
function Get-IsValidLicenseUrl([xml]$nuspecXml) {
179-
$licenseUrl = $nuspecXml.package.metadata.licenseUrl;
178+
function Get-IsValidLicense([xml]$nuspecXml) {
179+
$license = $nuspecXml.package.metadata.license;
180180

181-
$message = "License Url: $licenseUrl";
181+
$message = "License Url: $license";
182182
$requirement = "Must match expected."
183-
$recommendation = "Should not use FWLINK."
184183

185-
Test-MultiCondition ($licenseUrl -eq $expectedLicenseUrl) ($licenseUrl -notlike "*fwlink*") $message $requirement $recommendation;
184+
Test-Condition ($license -eq $expectedLicense) $message $requirement;
186185
}
187186

188187
function Get-IsValidLicenseAcceptance([xml]$nuspecXml) {
@@ -291,7 +290,7 @@ function Start-EvaluateNupkg ($nupkgPath) {
291290
Get-IsValidAuthors $nuspecXml;
292291
Get-IsValidOwners $nuspecXml;
293292
Get-IsValidProjectUrl $nuspecXml;
294-
Get-IsValidLicenseUrl $nuspecXml;
293+
Get-IsValidLicense $nuspecXml;
295294
Get-IsValidLicenseAcceptance $nuspecXml;
296295
Get-IsValidCopyright $nuspecXml;
297296
Get-IsValidLogoUrl $nuspecXml $unzipPath;

src/Microsoft.ApplicationInsights.AspNetCore/Microsoft.ApplicationInsights.AspNetCore.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<AssemblyName>Microsoft.ApplicationInsights.AspNetCore</AssemblyName>
4-
<VersionPrefix>2.6.0-beta3</VersionPrefix>
4+
<VersionPrefix>2.6.0</VersionPrefix>
55
<Authors>Microsoft</Authors>
66
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
77
<AssemblyTitle>Application Insights for ASP.NET Core Web Applications</AssemblyTitle>
@@ -25,7 +25,7 @@
2525
<PackageId>Microsoft.ApplicationInsights.AspNetCore</PackageId>
2626
<PackageTags>Azure;Monitoring;Analytics;ApplicationInsights;Telemetry;AppInsights;aspnetcore;</PackageTags>
2727
<PackageIconUrl>https://appanacdn.blob.core.windows.net/cdn/icons/aic.png</PackageIconUrl>
28-
<PackageLicenseUrl>https://go.microsoft.com/fwlink/?LinkID=510709</PackageLicenseUrl>
28+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2929
<PackageProjectUrl>https://go.microsoft.com/fwlink/?LinkId=392727</PackageProjectUrl>
3030
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
3131
</PropertyGroup>
@@ -81,11 +81,11 @@
8181
</ItemGroup>
8282

8383
<ItemGroup>
84-
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3-build22323" />
85-
<PackageReference Include="Microsoft.ApplicationInsights.DependencyCollector" Version="2.9.0-beta3" />
86-
<PackageReference Include="Microsoft.ApplicationInsights.PerfCounterCollector" Version="2.9.0-beta3" />
87-
<PackageReference Include="Microsoft.ApplicationInsights.WindowsServer" Version="2.9.0-beta3" />
88-
<PackageReference Include="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel" Version="2.9.0-beta3" />
84+
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
85+
<PackageReference Include="Microsoft.ApplicationInsights.DependencyCollector" Version="2.9.0" />
86+
<PackageReference Include="Microsoft.ApplicationInsights.PerfCounterCollector" Version="2.9.0" />
87+
<PackageReference Include="Microsoft.ApplicationInsights.WindowsServer" Version="2.9.0" />
88+
<PackageReference Include="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel" Version="2.9.0" />
8989
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="1.0.2" />
9090
<PackageReference Include="Microsoft.Extensions.Configuration" Version="1.0.2" />
9191
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.0.2" />

0 commit comments

Comments
 (0)