File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <TargetFramework >net452</TargetFramework >
4- <AssemblyTitle >Pysco68.Owin.Logging.NLogAdapter.Tests</AssemblyTitle >
54 <Product >NLog.Owin.Logging.Tests</Product >
65 <Copyright >Copyright © 2016-2019</Copyright >
76 <IsPackable >false</IsPackable >
109 <PackageReference Include =" Microsoft.Owin.Hosting" Version =" 4.2.2" />
1110 <PackageReference Include =" Microsoft.Owin.Testing" Version =" 4.2.2" />
1211 <PackageReference Include =" NUnit" Version =" 3.13.3" />
13- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.2.1 " />
12+ <PackageReference Include =" NUnit3TestAdapter" Version =" 4.5.0 " />
1413 </ItemGroup >
1514 <ItemGroup >
1615 <Service Include =" {82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
Original file line number Diff line number Diff line change 66 <Description >NLog logging adapter for OWIN</Description >
77 <CurrentYear >$([System.DateTime]::Now.ToString(yyyy))</CurrentYear >
88 <Copyright >Copyright © 2016-$(CurrentYear) Yannic Staudt & NLog Project - https://nlog-project.org/ </Copyright >
9- <Version >1 .0</Version >
9+ <Version >4 .0</Version >
1010 <TargetFramework >net45</TargetFramework >
1111 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
1212 <Authors >NLog, Yannic "Pysco68" Staudt, Julian Verdurmen</Authors >
2121 <IncludeSymbols >true</IncludeSymbols >
2222 <SignAssembly >true</SignAssembly >
2323 <AssemblyOriginatorKeyFile >NLog.snk</AssemblyOriginatorKeyFile >
24- <GeneratePackageOnBuild >true </GeneratePackageOnBuild >
24+ <GeneratePackageOnBuild >false </GeneratePackageOnBuild >
2525 <IsPackable >true</IsPackable >
2626 <EmbedUntrackedSources >true</EmbedUntrackedSources >
2727 <PackageReleaseNotes >
28- - Updated to NLog v5
28+ - Updated to NLog v4.7.15
2929- Updated to Microsoft.Owin v4.2.2
3030- Enabled Deterministic build + SourceLink
31+ - Only emit EventId-property when non-zero
3132 </PackageReleaseNotes >
3233 </PropertyGroup >
3334 <ItemGroup >
3637 <PrivateAssets >all</PrivateAssets >
3738 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
3839 </PackageReference >
39- <PackageReference Include =" NLog" Version =" 5.0.2 " />
40+ <PackageReference Include =" NLog" Version =" 4.7.15 " />
4041 </ItemGroup >
4142 <ItemGroup >
4243 <None Include =" NLog.snk" />
Original file line number Diff line number Diff line change 11image : Visual Studio 2022
2- version : 1 .0.0.{build}
2+ version : 4 .0.0.{build}
33clone_folder : c:\projects\nlog
44configuration : Release
55platform : Any CPU
66dotnet_csproj :
77 patch : true
88 file : ' **\*.csproj'
9- assembly_version : ' 1 .0.0' # only change on major releases
9+ assembly_version : ' 4 .0.0' # only change on major releases
1010 file_version : ' {version}'
11- package_version : ' 1.1 '
12- informational_version : ' 1.1 '
13- version : ' 1.1 '
11+ package_version : ' 4.0 '
12+ informational_version : ' 4.0 '
13+ version : ' 4.0 '
1414skip_tags : true
15+ nuget :
16+ disable_publish_on_pr : true
1517build_script :
16- - ps : msbuild /t:restore,build /p:Configuration=Release /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg /verbosity:minimal /p:ContinuousIntegrationBuild=true
18+ - ps : dotnet restore
19+ - ps : msbuild /t:build,pack /p:Configuration=Release /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg /verbosity:minimal /p:ContinuousIntegrationBuild=true
1720test_script :
1821 - nuget.exe install OpenCover -ExcludeVersion
1922 - OpenCover\tools\OpenCover.Console.exe -register:user -target:"nunit3-console.exe" -targetargs:"c:\projects\nlog\NLog.Owin.Logging.Tests\bin\Release\net452\NLog.Owin.Logging.Tests.dll" -returntargetcode -filter:"+[NLog.Owin.Logging]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:coverage.xml
@@ -24,3 +27,9 @@ test_script:
2427artifacts :
2528 - path : ' **\NLog.*.nupkg'
2629 - path : ' **\NLog.*.snupkg'
30+ deploy :
31+ - provider : NuGet
32+ api_key :
33+ secure : e+0IpLU3V1eXUsWCRjKGuyyeuLQYfFpv6BAoIihFQryuYZsOWVvxUBvQOC0dOL2n
34+ on :
35+ branch : master
You can’t perform that action at this time.
0 commit comments