Skip to content

Commit

Permalink
Updated Microsoft.AppCenter ver. 5.0.4 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot authored Jun 1, 2024
1 parent 6936ec3 commit 727e689
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# NLog.Targets.AppCenter
# NLog.Targets.AppCenter
NLog Target for [Microsoft Visual Studio App Center with Azure](https://azure.microsoft.com/services/app-center/)

[![Version](https://badge.fury.io/nu/NLog.Targets.AppCenter.svg)](https://www.nuget.org/packages/NLog.Targets.AppCenter)
[![AppVeyor](https://img.shields.io/appveyor/ci/nlog/nlog-azureappcenter/master.svg)](https://ci.appveyor.com/project/nlog/nlog-azureappcenter/branch/master)

⚠️ Microsoft AppCenter will be retired - https://learn.microsoft.com/appcenter/retirement

## How to setup NLog in MAUI

1) **Install the NLog packages**
Expand Down Expand Up @@ -64,12 +66,12 @@ NLog Target for [Microsoft Visual Studio App Center with Azure](https://azure.mi
## Example NLog.config file

```xml
<nlog>
<nlog throwConfigExceptions="true">
<extensions>
<add assembly="NLog.Targets.AppCenter"/>
</extensions>
<targets>
<target name="appcenter" xsi:type="appcenter" layout="${message}" reportExceptionAsCrash="true">
<target name="appcenter" type="appcenter" layout="${message}" reportExceptionAsCrash="true">
<contextproperty name="logger" layout="${logger}" />
<contextproperty name="loglevel" layout="${level}" />
<contextproperty name="threadid" layout="${threadid}" />
Expand Down
13 changes: 6 additions & 7 deletions src/NLog.Targets.AppCenter/NLog.Targets.AppCenter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
<VersionPrefix>5.2.1</VersionPrefix>
<VersionPrefix>5.2.2</VersionPrefix>
<AssemblyVersion>5.0.0.0</AssemblyVersion> <!-- Strong AssemblyVersion must be fixed on 5.0.0.0 -->
<AppVeyorBuildNumber>$(APPVEYOR_BUILD_NUMBER)</AppVeyorBuildNumber>
<AppVeyorBuildNumber Condition="'$(AppVeyorBuildNumber)' == ''">0</AppVeyorBuildNumber>
Expand All @@ -19,9 +19,8 @@
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>
- Updated dependency NLog v5.2.2
- Added nuget-package README.md
- Added fluent API Setup() extension methods RegisterAppCenter() and WriteToAppCenter()
- Updated Microsoft.AppCenter ver. 5.0.4
- Notice Microsoft AppCenter will be retired - https://learn.microsoft.com/appcenter/retirement
</PackageReleaseNotes>

<IsPackable>true</IsPackable>
Expand All @@ -37,10 +36,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.2" />
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.2" />
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.4" />
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.4" />
<PackageReference Include="NLog" Version="5.2.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net472;net8.0-windows</TargetFrameworks>

<AssemblyOriginatorKeyFile>NLogTests.snk</AssemblyOriginatorKeyFile>
<DelaySign>false</DelaySign>
Expand All @@ -10,8 +10,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 727e689

Please sign in to comment.