|
3 | 3 | <Product>MyCSharp.HttpUserAgentParser</Product> |
4 | 4 | <Authors>MyCSharp, BenjaminAbt, gfoidl</Authors> |
5 | 5 | <Company>myCSharp.de</Company> |
| 6 | + <Copyright>myCSharp.de</Copyright> |
6 | 7 | </PropertyGroup> |
7 | 8 |
|
8 | 9 | <PropertyGroup Label="Vars"> |
|
27 | 28 | <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)MyCSharp.HttpUserAgentParser.snk</AssemblyOriginatorKeyFile> |
28 | 29 |
|
29 | 30 | <PublicKey> |
30 | | - 00240000048000009400000006020000002400005253413100040000010001003d5c022c088a46d41d5a5bf7591f3a3dcba30f76b0f43a312b6e45bb419d32283175cbd8bfd83134b123da6db83479e50596fb6bbe0e8c6cef50c01c64a0861c963daaf6905920f44ffe1ce44b3cfcb9c23779f34bc90c7b04e74e36a19bb58af3a69456d49b56993969dba9f8e9e935c2757844a11066d1091477f10cd923b7 |
| 31 | + 00240000048000009400000006020000002400005253413100040000010001003d5c022c088a46 |
| 32 | + d41d5a5bf7591f3a3dcba30f76b0f43a312b6e45bb419d32283175cbd8bfd83134b123da6db834 |
| 33 | + 79e50596fb6bbe0e8c6cef50c01c64a0861c963daaf6905920f44ffe1ce44b3cfcb9c23779f34b |
| 34 | + c90c7b04e74e36a19bb58af3a69456d49b56993969dba9f8e9e935c2757844a11066d1091477f1 |
| 35 | + 0cd923b7 |
31 | 36 | </PublicKey> |
32 | 37 | </PropertyGroup> |
33 | 38 |
|
|
73 | 78 | <NuGetAuditLevel>low</NuGetAuditLevel> |
74 | 79 | </PropertyGroup> |
75 | 80 |
|
| 81 | + <!-- Global coverage settings applied to all test projects --> |
| 82 | + <PropertyGroup Condition="'$(IsTestProject)' == 'true'" Label="Coverage"> |
| 83 | + <CollectCoverage>true</CollectCoverage> |
| 84 | + <CoverletOutputFormat>lcov,opencover,cobertura</CoverletOutputFormat> |
| 85 | + <CoverletOutput>$(MSBuildThisFileDirectory)TestResults/coverage/$(MSBuildProjectName).</CoverletOutput> |
| 86 | + <ExcludeByAttribute>GeneratedCodeAttribute,CompilerGeneratedAttribute,ExcludeFromCodeCoverageAttribute</ExcludeByAttribute> |
| 87 | + <ExcludeByFile>**/*Program.cs;**/*Startup.cs;**/*GlobalUsings.cs</ExcludeByFile> |
| 88 | + <UseSourceLink>true</UseSourceLink> |
| 89 | + <!-- Enforce high line coverage; branch coverage is informative only --> |
| 90 | + <!-- Note: Set to 96 to account for performance-optimized helper methods and framework-specific code paths --> |
| 91 | + <Threshold>96</Threshold> |
| 92 | + <ThresholdType>line</ThresholdType> |
| 93 | + <ThresholdStat>total</ThresholdStat> |
| 94 | + </PropertyGroup> |
| 95 | + |
76 | 96 | <ItemGroup Label="Default Test Dependencies" Condition="'$(IsTestProject)' == 'true'"> |
77 | 97 | <PackageReference Include="coverlet.msbuild" /> |
78 | 98 | <PackageReference Include="Microsoft.NET.Test.Sdk" /> |
|
0 commit comments