Skip to content

Commit b6688fa

Browse files
authored
Bump protocolbuffers/[email protected] to netstandard2.0 (#1592)
.NET 9 SDK [raises](https://learn.microsoft.com/en-ca/dotnet/core/compatibility/sdk/9.0/netstandard-warning) a (suppressable) build warning about this, largely to encourage developers to upgrade. This should not be an issue for consumers, as the more important consideration is the hosting application's target framework. More importantly, using `netstandard1.1` results in a vulnerable version of `System.Net.Http` being pulled in (`4.3.0`) via `Google.Protobuf`'s `netstandard1.1` deps. Upgrading to `netstandard2.0` resolves this. `grpc/csharp` is already using `netstandard2.0`. No other C# plugins exist.
1 parent cbde03f commit b6688fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/protocolbuffers/csharp/v28.3/buf.plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ registry:
1212
- base_namespace=
1313
nuget:
1414
target_frameworks:
15-
- netstandard1.1
15+
- netstandard2.0
1616
deps:
1717
- name: Google.Protobuf
1818
version: 3.28.3

plugins/protocolbuffers/csharp/v28.3/build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netstandard1.1</TargetFramework>
3+
<TargetFramework>netstandard2.0</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageReference Include="Google.Protobuf" Version="3.28.3" />

0 commit comments

Comments
 (0)