File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/OpenTelemetry.Exporter.OpenTelemetryProtocol Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 9
9
possible and only deviate (use a specific version) when a package has a
10
10
more specific patch which must be reference directly.
11
11
-->
12
- <LatestRuntimeOutOfBandVer >9.0.0</LatestRuntimeOutOfBandVer >
12
+ <Runtime9OutOfBandVer >9.0.0</Runtime9OutOfBandVer >
13
+ <LatestRuntimeOutOfBandVer >8.0.0</LatestRuntimeOutOfBandVer >
14
+ <LatestRuntimeOutOfBandVer Condition =" '$(TargetFramework)' == 'net9.0'" >$(Runtime9OutOfBandVer)</LatestRuntimeOutOfBandVer >
13
15
14
16
<!-- Mitigate https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-43485. -->
15
17
<SystemTextEncodingsWebOutOfBandMinimumCoreAppVer >8.0.0</SystemTextEncodingsWebOutOfBandMinimumCoreAppVer >
59
61
3) The .NET runtime team provides extra backward compatibility guarantee to System.Diagnostics.DiagnosticSource
60
62
even during major version bumps, so compatibility is not a concern here.
61
63
-->
62
- <PackageVersion Include =" System.Diagnostics.DiagnosticSource" Version =" $(LatestRuntimeOutOfBandVer )" />
64
+ <PackageVersion Include =" System.Diagnostics.DiagnosticSource" Version =" $(Runtime9OutOfBandVer )" />
63
65
64
66
<!--
65
67
We use conservative versions of these packages where an upgrade might
Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk" >
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<TargetFrameworks >$(TargetFrameworksForLibrariesExtended)</TargetFrameworks >
4
4
<Description >OpenTelemetry protocol exporter for OpenTelemetry .NET</Description >
17
17
and https://github.com/dotnet/runtime/issues/92509 -->
18
18
<NoWarn >$(NoWarn);SYSLIB1100;SYSLIB1101</NoWarn >
19
19
<AllowUnsafeBlocks Condition =" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == '$(NetFrameworkMinimumSupportedVersion)'" >true</AllowUnsafeBlocks >
20
+ <ImplicitUsings >enable</ImplicitUsings >
20
21
</PropertyGroup >
21
22
22
23
<ItemGroup >
25
26
26
27
<ItemGroup >
27
28
<Reference Include =" System.Net.Http" Condition =" '$(TargetFramework)' == '$(NetFrameworkMinimumSupportedVersion)'" />
29
+ <Using Include =" System.Net.Http" Condition =" '$(TargetFramework)' == '$(NetFrameworkMinimumSupportedVersion)'" />
28
30
</ItemGroup >
29
31
30
32
<ItemGroup >
You can’t perform that action at this time.
0 commit comments