CyberdyneDevelopment.DeveloperTools.Compilation 0.1.0-preview.5

This is a prerelease version of CyberdyneDevelopment.DeveloperTools.Compilation.
dotnet add package CyberdyneDevelopment.DeveloperTools.Compilation --version 0.1.0-preview.5
                    
NuGet\Install-Package CyberdyneDevelopment.DeveloperTools.Compilation -Version 0.1.0-preview.5
                    
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="CyberdyneDevelopment.DeveloperTools.Compilation" Version="0.1.0-preview.5">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CyberdyneDevelopment.DeveloperTools.Compilation" Version="0.1.0-preview.5" />
                    
Directory.Packages.props
<PackageReference Include="CyberdyneDevelopment.DeveloperTools.Compilation">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
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 CyberdyneDevelopment.DeveloperTools.Compilation --version 0.1.0-preview.5
                    
#r "nuget: CyberdyneDevelopment.DeveloperTools.Compilation, 0.1.0-preview.5"
                    
#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 CyberdyneDevelopment.DeveloperTools.Compilation@0.1.0-preview.5
                    
#: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=CyberdyneDevelopment.DeveloperTools.Compilation&version=0.1.0-preview.5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CyberdyneDevelopment.DeveloperTools.Compilation&version=0.1.0-preview.5&prerelease
                    
Install as a Cake Tool

Mc3Po.Tools.Compilation

Build and compilation tools for the FractalDataWorks development tools framework.

Overview

This package provides Roslyn-based compilation tools for building projects, validating syntax, and working with compilation artifacts.

Tools

Tool Description
BuildProject Build a project and get diagnostics
CompileDocument Compile a single document
EmitAssembly Emit compiled assembly to disk or memory
GetCompilationOptions Get compilation options for a project
GetDiagnostics Get compiler diagnostics for a project
GetSemanticModel Get semantic model for a document
GetSyntaxTree Get syntax tree for a document
ValidateSyntax Validate syntax without full compilation

Usage

Build a Project

var tool = ToolTypes.ByName("BuildProject");
var input = new ToolInput(new Dictionary<string, object>
{
    ["projectPath"] = "/path/to/project.csproj"
});

var result = await tool.Execute(input);
if (result.IsSuccess)
{
    var diagnostics = result.Value!.Data["diagnostics"];
    var errors = result.Value.Data["errors"];
    var warnings = result.Value.Data["warnings"];
}

Get Semantic Model

var tool = ToolTypes.ByName("GetSemanticModel");
var input = new ToolInput(new Dictionary<string, object>
{
    ["filePath"] = "/path/to/file.cs"
});

var result = await tool.Execute(input);
// Access semantic information about symbols, types, etc.

Dependencies

  • Mc3Po.Tools.Abstractions - Tool framework
  • FractalDataWorks.Workspace.Roslyn - Roslyn workspace access
  • Microsoft.CodeAnalysis.CSharp - Roslyn C# compilation
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CyberdyneDevelopment.DeveloperTools.Compilation:

Package Downloads
CyberdyneDevelopment.DeveloperTools.McpServer

Development tools and utilities for the FractalDataWorks ecosystem. Build:

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.5 55 1/7/2026