Microsoft.DotNet.Scaffolding.CodeModification
20.0.0-preview.1.26156.3
Prefix Reserved
This is a prerelease version of Microsoft.DotNet.Scaffolding.CodeModification.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Microsoft.DotNet.Scaffolding.CodeModification --version 20.0.0-preview.1.26156.3
NuGet\Install-Package Microsoft.DotNet.Scaffolding.CodeModification -Version 20.0.0-preview.1.26156.3
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="Microsoft.DotNet.Scaffolding.CodeModification" Version="20.0.0-preview.1.26156.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.DotNet.Scaffolding.CodeModification" Version="20.0.0-preview.1.26156.3" />
<PackageReference Include="Microsoft.DotNet.Scaffolding.CodeModification" />
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 Microsoft.DotNet.Scaffolding.CodeModification --version 20.0.0-preview.1.26156.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.DotNet.Scaffolding.CodeModification, 20.0.0-preview.1.26156.3"
#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 Microsoft.DotNet.Scaffolding.CodeModification@20.0.0-preview.1.26156.3
#: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=Microsoft.DotNet.Scaffolding.CodeModification&version=20.0.0-preview.1.26156.3&prerelease
#tool nuget:?package=Microsoft.DotNet.Scaffolding.CodeModification&version=20.0.0-preview.1.26156.3&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Microsoft.DotNet.Scaffolding.CodeModification
Microsoft.DotNet.Scaffolding.CodeModification is a library designed to assist .NET developers in modifying and generating code as part of scaffolding operations in a dotnet-scaffold compatible scaffolder.
- CodeModificationStep : an implementation of Microsoft.DotNet.Scaffolding.Core.Steps.ScaffoldStep. To be used as part of the scaffolder builder.
For example :
var builder = Host.CreateScaffoldBuilder();
var newScaffolder = builder.AddScaffolder("scaffolder");
newScaffolder.WithCategory("Custom")
.WithDescription("Project for scaffolding.")
.WithOption(projectOption)
.WithStep<CodeModificationStep>(config =>
{
//context includes processed commandline information.
var context = config.Context;
//ScaffoldStep for initializing required properties
var step = config.Step;
step.Property = PropertyValue;
});
| 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 is compatible. 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 is compatible. 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. net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Humanizer.Core (>= 3.0.1)
- Microsoft.ApplicationInsights.WorkerService (>= 2.22.0)
- Microsoft.Build (>= 18.3.3)
- Microsoft.Build.Framework (>= 18.3.3)
- Microsoft.Build.Locator (>= 1.9.1)
- Microsoft.Build.Tasks.Core (>= 18.3.3)
- Microsoft.CodeAnalysis.Common (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp.Features (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 5.0.0)
- Microsoft.CodeAnalysis.Features (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.Common (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.MSBuild (>= 5.0.0)
- Microsoft.DotNet.PlatformAbstractions (>= 3.1.6)
- Microsoft.DotNet.Scaffolding.Core (>= 20.0.0-preview.1.26156.3)
- Microsoft.DotNet.Scaffolding.Roslyn (>= 20.0.0-preview.1.26156.3)
- Microsoft.Extensions.DependencyInjection (>= 11.0.0-preview.1.26104.118)
- Microsoft.Extensions.Hosting (>= 11.0.0-preview.1.26104.118)
- Microsoft.Extensions.Logging.Console (>= 11.0.0-preview.1.26104.118)
- Newtonsoft.Json (>= 13.0.3)
- NuGet.Configuration (>= 7.0.1)
- NuGet.Credentials (>= 7.0.1)
- NuGet.Protocol (>= 7.0.1)
- NuGet.Versioning (>= 7.0.1)
- System.CommandLine (>= 2.0.0)
-
net11.0
- Humanizer.Core (>= 3.0.1)
- Microsoft.ApplicationInsights.WorkerService (>= 2.22.0)
- Microsoft.Build (>= 18.3.3)
- Microsoft.Build.Framework (>= 18.3.3)
- Microsoft.Build.Locator (>= 1.9.1)
- Microsoft.Build.Tasks.Core (>= 18.3.3)
- Microsoft.CodeAnalysis.Common (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp.Features (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 5.0.0)
- Microsoft.CodeAnalysis.Features (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.Common (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.MSBuild (>= 5.0.0)
- Microsoft.DotNet.PlatformAbstractions (>= 3.1.6)
- Microsoft.DotNet.Scaffolding.Core (>= 20.0.0-preview.1.26156.3)
- Microsoft.DotNet.Scaffolding.Roslyn (>= 20.0.0-preview.1.26156.3)
- Microsoft.Extensions.DependencyInjection (>= 11.0.0-preview.1.26104.118)
- Microsoft.Extensions.Hosting (>= 11.0.0-preview.1.26104.118)
- Microsoft.Extensions.Logging.Console (>= 11.0.0-preview.1.26104.118)
- Newtonsoft.Json (>= 13.0.3)
- NuGet.Configuration (>= 7.0.1)
- NuGet.Credentials (>= 7.0.1)
- NuGet.Protocol (>= 7.0.1)
- NuGet.Versioning (>= 7.0.1)
- System.CommandLine (>= 2.0.0)
-
net8.0
- Humanizer.Core (>= 3.0.1)
- Microsoft.ApplicationInsights.WorkerService (>= 2.22.0)
- Microsoft.Build (>= 17.11.48)
- Microsoft.Build.Framework (>= 18.3.3)
- Microsoft.Build.Locator (>= 1.9.1)
- Microsoft.Build.Tasks.Core (>= 18.3.3)
- Microsoft.CodeAnalysis.Common (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp.Features (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 5.0.0)
- Microsoft.CodeAnalysis.Features (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.Common (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.MSBuild (>= 5.0.0)
- Microsoft.DotNet.PlatformAbstractions (>= 3.1.6)
- Microsoft.DotNet.Scaffolding.Core (>= 20.0.0-preview.1.26156.3)
- Microsoft.DotNet.Scaffolding.Roslyn (>= 20.0.0-preview.1.26156.3)
- Microsoft.Extensions.DependencyInjection (>= 11.0.0-preview.1.26104.118)
- Microsoft.Extensions.Hosting (>= 11.0.0-preview.1.26104.118)
- Microsoft.Extensions.Logging.Console (>= 11.0.0-preview.1.26104.118)
- Newtonsoft.Json (>= 13.0.3)
- NuGet.Configuration (>= 7.0.1)
- NuGet.Credentials (>= 7.0.1)
- NuGet.Protocol (>= 7.0.1)
- NuGet.Versioning (>= 7.0.1)
- System.CommandLine (>= 2.0.0)
-
net9.0
- Humanizer.Core (>= 3.0.1)
- Microsoft.ApplicationInsights.WorkerService (>= 2.22.0)
- Microsoft.Build (>= 17.13.26)
- Microsoft.Build.Framework (>= 18.3.3)
- Microsoft.Build.Locator (>= 1.9.1)
- Microsoft.Build.Tasks.Core (>= 18.3.3)
- Microsoft.CodeAnalysis.Common (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp.Features (>= 5.0.0)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 5.0.0)
- Microsoft.CodeAnalysis.Features (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.Common (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.MSBuild (>= 5.0.0)
- Microsoft.DotNet.PlatformAbstractions (>= 3.1.6)
- Microsoft.DotNet.Scaffolding.Core (>= 20.0.0-preview.1.26156.3)
- Microsoft.DotNet.Scaffolding.Roslyn (>= 20.0.0-preview.1.26156.3)
- Microsoft.Extensions.DependencyInjection (>= 11.0.0-preview.1.26104.118)
- Microsoft.Extensions.Hosting (>= 11.0.0-preview.1.26104.118)
- Microsoft.Extensions.Logging.Console (>= 11.0.0-preview.1.26104.118)
- Newtonsoft.Json (>= 13.0.3)
- NuGet.Configuration (>= 7.0.1)
- NuGet.Credentials (>= 7.0.1)
- NuGet.Protocol (>= 7.0.1)
- NuGet.Versioning (>= 7.0.1)
- System.CommandLine (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|