diff --git a/provider/cmd/pulumi-resource-aws/schema.json b/provider/cmd/pulumi-resource-aws/schema.json
index 6171155ddef..92465bd22be 100644
--- a/provider/cmd/pulumi-resource-aws/schema.json
+++ b/provider/cmd/pulumi-resource-aws/schema.json
@@ -14,6 +14,9 @@
},
"language": {
"csharp": {
+ "packageReferences": {
+ "Pulumi": "3.*"
+ },
"namespaces": {
"accessanalyzer": "AccessAnalyzer",
"account": "Account",
diff --git a/provider/resources.go b/provider/resources.go
index 3588771877c..8f0ea359abb 100644
--- a/provider/resources.go
+++ b/provider/resources.go
@@ -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,
},
}
diff --git a/sdk/dotnet/Pulumi.Aws.csproj b/sdk/dotnet/Pulumi.Aws.csproj
index 041ac0a02c3..708aeaa0f10 100644
--- a/sdk/dotnet/Pulumi.Aws.csproj
+++ b/sdk/dotnet/Pulumi.Aws.csproj
@@ -45,7 +45,7 @@
-
+