diff --git a/changelog/pending/20221206--sdk-dotnet--drop-support-for-net-core-3-1.yaml b/changelog/pending/20221206--sdk-dotnet--drop-support-for-net-core-3-1.yaml new file mode 100644 index 000000000000..dfb43567993f --- /dev/null +++ b/changelog/pending/20221206--sdk-dotnet--drop-support-for-net-core-3-1.yaml @@ -0,0 +1,4 @@ +changes: +- type: feat + scope: sdk/dotnet + description: Drop support for .NET Core 3.1. diff --git a/pkg/codegen/dotnet/gen.go b/pkg/codegen/dotnet/gen.go index 1ce7ec099519..6948d68fcc17 100644 --- a/pkg/codegen/dotnet/gen.go +++ b/pkg/codegen/dotnet/gen.go @@ -2076,7 +2076,7 @@ func genProjectFile(pkg *schema.Package, // only add a package reference to Pulumi if we're not referencing a local Pulumi project // which we usually do when testing schemas locally if !referencedLocalPulumiProject { - packageReferences["Pulumi"] = "[3.23.0,4)" + packageReferences["Pulumi"] = "[3.49.0,4)" } } diff --git a/pkg/codegen/dotnet/templates.go b/pkg/codegen/dotnet/templates.go index 10b9e11303c3..7bbead8fff42 100644 --- a/pkg/codegen/dotnet/templates.go +++ b/pkg/codegen/dotnet/templates.go @@ -132,7 +132,7 @@ const csharpProjectFileTemplateText = ` {{.Package.Repository}} logo.png - netcoreapp3.1 + net6.0 enable false diff --git a/sdk/go/auto/test/errors/compilation_error/dotnet/dotnet.csproj b/sdk/go/auto/test/errors/compilation_error/dotnet/dotnet.csproj index 7f5af17205a1..f2ce42fa8823 100644 --- a/sdk/go/auto/test/errors/compilation_error/dotnet/dotnet.csproj +++ b/sdk/go/auto/test/errors/compilation_error/dotnet/dotnet.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp3.1 + net6.0 enable diff --git a/sdk/go/auto/test/errors/runtime_error/dotnet/adsfsdf.csproj b/sdk/go/auto/test/errors/runtime_error/dotnet/adsfsdf.csproj index 7f5af17205a1..f2ce42fa8823 100644 --- a/sdk/go/auto/test/errors/runtime_error/dotnet/adsfsdf.csproj +++ b/sdk/go/auto/test/errors/runtime_error/dotnet/adsfsdf.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp3.1 + net6.0 enable diff --git a/sdk/python/lib/test/automation/errors/compilation_error/dotnet/dotnet.csproj b/sdk/python/lib/test/automation/errors/compilation_error/dotnet/dotnet.csproj index 7f5af17205a1..f2ce42fa8823 100644 --- a/sdk/python/lib/test/automation/errors/compilation_error/dotnet/dotnet.csproj +++ b/sdk/python/lib/test/automation/errors/compilation_error/dotnet/dotnet.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp3.1 + net6.0 enable diff --git a/sdk/python/lib/test/automation/errors/runtime_error/dotnet/adsfsdf.csproj b/sdk/python/lib/test/automation/errors/runtime_error/dotnet/adsfsdf.csproj index 7f5af17205a1..f2ce42fa8823 100644 --- a/sdk/python/lib/test/automation/errors/runtime_error/dotnet/adsfsdf.csproj +++ b/sdk/python/lib/test/automation/errors/runtime_error/dotnet/adsfsdf.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp3.1 + net6.0 enable