Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Changelog
### Version 2.9.0
- Update Base SDK to version 2.9.0

### Version 2.9.0-beta3
- Update Base SDK to version 2.9.0-beta3
Expand Down
2 changes: 1 addition & 1 deletion GlobalStaticVersion.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<SemanticVersionMajor>2</SemanticVersionMajor>
<SemanticVersionMinor>9</SemanticVersionMinor>
<SemanticVersionPatch>0</SemanticVersionPatch>
<PreReleaseMilestone>beta3</PreReleaseMilestone>
<PreReleaseMilestone></PreReleaseMilestone>
<!--
Date when Semantic Version was changed.
Update for every public release.
Expand Down
15 changes: 7 additions & 8 deletions NugetAudit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Param(

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

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

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

$message = "License Url: $licenseUrl";
$requirement = "Must match expected."
$recommendation = "Should not use FWLINK."
$message = "License Url: $license";
$requirement = "Must match expected."

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

function Get-IsValidLicenseAcceptance([xml]$nuspecXml) {
Expand Down Expand Up @@ -291,7 +290,7 @@ function Start-EvaluateNupkg ($nupkgPath) {
Get-IsValidAuthors $nuspecXml;
Get-IsValidOwners $nuspecXml;
Get-IsValidProjectUrl $nuspecXml;
Get-IsValidLicenseUrl $nuspecXml;
Get-IsValidLicense $nuspecXml;
Get-IsValidLicenseAcceptance $nuspecXml;
Get-IsValidCopyright $nuspecXml;
Get-IsValidLogoUrl $nuspecXml $unzipPath;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@


<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion src/EtwCollector/EtwCollector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<PackageReference Include="Microsoft.Diagnostics.Tracing.EventRegister" Version="1.1.28">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="1.0.41" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/EventSourceListener/EventSourceListener.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion src/ILogger/ILogger.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.2">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion src/Log4NetAppender/Log4NetAppender.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<PackageReference Include="Microsoft.Diagnostics.Tracing.EventRegister" Version="1.1.28">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
Expand Down
2 changes: 1 addition & 1 deletion src/NLogTarget/NLogTarget.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<PackageReference Include="Microsoft.Diagnostics.Tracing.EventRegister" Version="1.1.28">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
Expand Down
2 changes: 1 addition & 1 deletion src/Product.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<Owners>Microsoft,AppInsightsSdk</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseUrl>https://go.microsoft.com/fwlink/?LinkID=510709</PackageLicenseUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?LinkId=392727</PackageProjectUrl>
<PackageIconUrl>http://appanacdn.blob.core.windows.net/cdn/icons/aic.png</PackageIconUrl>
<PackageTags>Azure Monitoring Analytics ApplicationInsights Telemetry</PackageTags>
Expand Down
2 changes: 1 addition & 1 deletion src/TraceListener/TraceListener.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<PackageReference Include="Microsoft.Diagnostics.Tracing.EventRegister" Version="1.1.28">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="1.0.41" />
<ProjectReference Include="..\..\src\EtwCollector\EtwCollector.csproj" />
<Reference Include="System.Net.Http" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="log4net" Version="2.0.7" />
<ProjectReference Include="..\..\src\Log4NetAppender\Log4NetAppender.csproj" />
<Reference Include="System.Net.Http" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="log4net" Version="2.0.8" />
<ProjectReference Include="..\..\src\Log4NetAppender\Log4NetAppender.csproj" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/NLogTarget.Net45.Tests/NLogTarget.Net45.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="NLog" Version="4.4.12" />
<ProjectReference Include="..\..\src\NLogTarget\NLogTarget.csproj" />
<Reference Include="System.Net.Http" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="NLog" Version="4.5.0" />
<ProjectReference Include="..\..\src\NLogTarget\NLogTarget.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="log4net" Version="2.0.5" />
<ProjectReference Include="..\..\src\TraceListener\TraceListener.csproj" />
<Reference Include="System.Net.Http" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.3.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion test/Xdt.Tests/Xdt.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0-beta3" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
<PackageReference Include="Microsoft.Web.Xdt" Version="2.1.1" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
Expand Down