From 2c29ba16649793fd707d1f5aeb6db997b2ebd0ed Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Tue, 1 Oct 2024 17:57:06 -0400 Subject: [PATCH] Revert .NET changes (#1426) RE: https://github.com/pulumi/ci-mgmt/issues/1091 --- provider/cmd/pulumi-resource-azuread/schema.json | 3 +++ provider/resources.go | 4 +++- sdk/dotnet/Pulumi.AzureAD.csproj | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/provider/cmd/pulumi-resource-azuread/schema.json b/provider/cmd/pulumi-resource-azuread/schema.json index e20ff36f5..c5d58e197 100644 --- a/provider/cmd/pulumi-resource-azuread/schema.json +++ b/provider/cmd/pulumi-resource-azuread/schema.json @@ -15,6 +15,9 @@ }, "language": { "csharp": { + "packageReferences": { + "Pulumi": "3.*" + }, "namespaces": { "azuread": "AzureAD" }, diff --git a/provider/resources.go b/provider/resources.go index 230483244..e758e7d20 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -264,7 +264,9 @@ func Provider() tfbridge.ProviderInfo { }, CSharp: &tfbridge.CSharpInfo{ RespectSchemaVersion: true, - PackageReferences: map[string]string{}, + PackageReferences: map[string]string{ + "Pulumi": "3.*", + }, Namespaces: map[string]string{ "azuread": "AzureAD", }, diff --git a/sdk/dotnet/Pulumi.AzureAD.csproj b/sdk/dotnet/Pulumi.AzureAD.csproj index 39a276811..74d14ccc3 100644 --- a/sdk/dotnet/Pulumi.AzureAD.csproj +++ b/sdk/dotnet/Pulumi.AzureAD.csproj @@ -45,7 +45,7 @@ - +