Skip to content

Commit

Permalink
Set explicit version for .NET core SDK requirement (#4591)
Browse files Browse the repository at this point in the history
Revert the change in a795267 for .NET
as the default range emitted by sdkgen has a problem where NuGet will
pick the minimum valid version that satisfies the range, rather than the
latest possible version.

We can revert this after pulumi/pulumi#17449
has been addressed.
  • Loading branch information
justinvp authored Oct 2, 2024
1 parent 13719db commit d80f7d1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions provider/cmd/pulumi-resource-aws/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
},
"language": {
"csharp": {
"packageReferences": {
"Pulumi": "3.*"
},
"namespaces": {
"accessanalyzer": "AccessAnalyzer",
"account": "Account",
Expand Down
5 changes: 4 additions & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -5378,7 +5378,10 @@ compatibility shim in favor of the new "name" field.`)
},
CSharp: &tfbridge.CSharpInfo{
RespectSchemaVersion: true,
Namespaces: namespaceMap,
PackageReferences: map[string]string{
"Pulumi": "3.*",
},
Namespaces: namespaceMap,
},
}

Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Pulumi.Aws.csproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d80f7d1

Please sign in to comment.