PulumiSharp 1.0.1
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
Requires NuGet 5.9 or higher.
dotnet add package PulumiSharp --version 1.0.1
NuGet\Install-Package PulumiSharp -Version 1.0.1
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.
For projects that support PackageReference, copy this XML node into the project file to reference the package.
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 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PulumiSharp, 1.0.1"
#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.
#:package PulumiSharp@1.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PulumiSharp&version=1.0.1
#tool nuget:?package=PulumiSharp&version=1.0.1
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
Sampleand add a reference to PulumiSharp. - Replace the contents in
Program.cswith:
using Pulumi;
using PulumiSharp;
return await new PulumiRunner().RunAsync(() =>
{
return new SampleOutput("Hello world");
}, args);
[PulumiProject("PulumiSharp.Sample")]
public record SampleOutput(Output 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.85.1)
- Pulumi.Automation (>= 3.85.1)
- 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 |
|---|---|---|
| 1.0.2-alpha.0.3 | 247 | 2/17/2026 |
| 1.0.2-alpha.0.2 | 89 | 2/17/2026 |
| 1.0.2-alpha.0.1 | 147 | 2/4/2026 |
| 1.0.1 | 1,704 | 7/19/2025 |
| 1.0.1-alpha.0.2 | 278 | 7/19/2025 |
| 1.0.0 | 448 | 7/17/2025 |
| 0.0.0-alpha.0.21 | 169 | 7/4/2025 |
| 0.0.0-alpha.0.20 | 168 | 5/23/2025 |
| 0.0.0-alpha.0.19 | 155 | 5/23/2025 |
| 0.0.0-alpha.0.18 | 621 | 4/22/2025 |