PulumiSharp 0.0.0-alpha.0.20
This is a prerelease version of PulumiSharp.
Requires NuGet 5.9 or higher.
dotnet add package PulumiSharp --version 0.0.0-alpha.0.20
NuGet\Install-Package PulumiSharp -Version 0.0.0-alpha.0.20
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PulumiSharp" Version="0.0.0-alpha.0.20" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PulumiSharp" Version="0.0.0-alpha.0.20" />
<PackageReference Include="PulumiSharp" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PulumiSharp --version 0.0.0-alpha.0.20
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PulumiSharp, 0.0.0-alpha.0.20"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=PulumiSharp&version=0.0.0-alpha.0.20&prerelease
#tool nuget:?package=PulumiSharp&version=0.0.0-alpha.0.20&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PulumiSharp
PulumiSharp helps .Net Developers create C# Pulumi projects with types output contracts
Platform support: .NET 8.0 and later.
Quick start
- Create a .NET console app named
Sample
and add a reference to PulumiSharp. - Replace the contents in
Program.cs
with:
using Pulumi;
using PulumiSharp;
return await new PulumiRunner().RunAsync(() =>
{
return new SampleOutput("Hello world");
}, args);
[PulumiProject("PulumiSharp.Sample")]
public record SampleOutput(Output<string> Value);
Create a Pulumi.yaml in the project with the content
name: PulumiSharp.Sample
runtime: dotnet
description: PulumiSharp Sample
backend:
url: file://~
Create a launchSettings.json in the project with the content
{
"profiles": {
"Default": {
"commandName": "Project"
},
"Pulumi": {
"commandName": "Project",
"commandLineArgs": "up",
"workingDirectory": "."
}
}
}
Run pulumi stack init from the project folder and type in your stack name
- Run the app using the Pulumi launch profile
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- CommandDotNet (>= 8.1.1)
- CommandDotNet.Spectre (>= 4.1.0)
- JetBrains.Annotations (>= 2024.3.0)
- Pulumi (>= 3.82.0)
- Pulumi.Automation (>= 3.82.0)
- SimpleExec (>= 12.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PulumiSharp:
Package | Downloads |
---|---|
PulumiSharp.Azure
PulumiSharp Azure integration |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.0-alpha.0.20 | 62 | 5/23/2025 |
0.0.0-alpha.0.19 | 67 | 5/23/2025 |
0.0.0-alpha.0.18 | 175 | 4/22/2025 |