[repo] Package validation tweaks (#4923)
This commit is contained in:
parent
d4d5122316
commit
c2293e088e
|
|
@ -1,12 +1,16 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<OTelLatestStableVer>1.6.0</OTelLatestStableVer>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="PreparePackageValidation" BeforeTargets="Restore">
|
||||
<PropertyGroup>
|
||||
<EnablePackageValidation Condition="'$(EnablePackageValidation)' == ''">true</EnablePackageValidation>
|
||||
<PackageValidationBaselineVersion Condition="'$(MinVerTagPrefix)' == 'core-'">$(OTelLatestStableVer)</PackageValidationBaselineVersion>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
This section covers packages that are directly referenced by the NuGet packages published from this repository.
|
||||
Any security vulnerability in these packages or their downstream dependencies will be considered as a security
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
<Project>
|
||||
<PropertyGroup Condition="'$(MinVerTagPrefix)' == 'core-'">
|
||||
<PackageValidationBaselineVersion>$(OTelLatestStableVer)</PackageValidationBaselineVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
Compat issues with assembly OpenTelemetry:
|
||||
CannotChangeAttribute : Attribute 'System.Runtime.CompilerServices.NullableAttribute' on generic param 'TInstrumentation' on member 'OpenTelemetry.Metrics.MeterProviderBuilderBase.AddInstrumentation<TInstrumentation>(System.Func<TInstrumentation>)' changed from '[NullableAttribute((byte)0)]' in the contract to '[NullableAttribute((byte)2)]' in the implementation.
|
||||
CannotChangeAttribute : Attribute 'System.Runtime.CompilerServices.NullableAttribute' on generic param 'TInstrumentation' on member 'OpenTelemetry.Trace.TracerProviderBuilderBase.AddInstrumentation<TInstrumentation>(System.Func<TInstrumentation>)' changed from '[NullableAttribute((byte)0)]' in the contract to '[NullableAttribute((byte)2)]' in the implementation.
|
||||
Total Issues: 2
|
||||
Loading…
Reference in New Issue