Metalama.Framework.Workspaces
2027.0.9-preview
Prefix Reserved
dotnet add package Metalama.Framework.Workspaces --version 2027.0.9-preview
NuGet\Install-Package Metalama.Framework.Workspaces -Version 2027.0.9-preview
<PackageReference Include="Metalama.Framework.Workspaces" Version="2027.0.9-preview" />
<PackageVersion Include="Metalama.Framework.Workspaces" Version="2027.0.9-preview" />
<PackageReference Include="Metalama.Framework.Workspaces" />
paket add Metalama.Framework.Workspaces --version 2027.0.9-preview
#r "nuget: Metalama.Framework.Workspaces, 2027.0.9-preview"
#:package Metalama.Framework.Workspaces@2027.0.9-preview
#addin nuget:?package=Metalama.Framework.Workspaces&version=2027.0.9-preview&prerelease
#tool nuget:?package=Metalama.Framework.Workspaces&version=2027.0.9-preview&prerelease
About
Metalama.Framework.Workspaces package loads the full Metalama pipeline for inspection, without compiling.
When loading and running Metalama using this package, you can get the object model of aspects, advices, transformations, diagnostics etc.
It also allows you to query code metrics.
Requirements
The package targets net10.0. Before it loads a project, it registers the MSBuild of a .NET SDK in the current
process, and it chooses the highest SDK that the runtime of the process can load. The major version of the host
runtime therefore decides which SDK can be used: a process that runs on .NET 10 needs a .NET 10 SDK, and it can't
use a .NET 11 SDK, because the MSBuild of that SDK targets .NET 11. On a machine that has only the .NET 11 SDK,
install the .NET 10 SDK, or run your application on .NET 11.
Principal APIs
- The Workspace type is your entry point. It allows you to load a project or solution.
Documentation
- Conceptual documentation: Inspecting a project using LINQPad
- API documentation: Introspection API
AI Coding Assistants
If you use an AI coding assistant such as Claude Code, install the Metalama AI Skills plugin. It gives the assistant access to the Metalama conceptual documentation, the API reference, and code samples.
| Product | Versions 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. |
-
net10.0
- Metalama.Framework.Implementation.5.12.0 (>= 2027.0.9-preview)
- Metalama.Framework.Introspection (>= 2027.0.9-preview)
- Metalama.Framework.Redist (>= 2027.0.9-preview)
- Microsoft.Build.Locator (>= 1.7.8)
- Microsoft.CodeAnalysis.Common (>= 5.12.0)
- Microsoft.CodeAnalysis.CSharp (>= 5.12.0)
- Microsoft.CodeAnalysis.CSharp.Features (>= 5.12.0)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 5.12.0)
- Microsoft.Extensions.Logging (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.VisualStudio.SolutionPersistence (>= 1.0.52)
- SharpCrafters.Aspects.Introspection.Query (>= 2027.0.10-preview)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Metalama.Framework.Workspaces:
| Package | Downloads |
|---|---|
|
Metalama.LinqPad
Loads any C# project or solution into LINQPad and exposes its code model to queries. This package contains an optional driver, samples, and dumping methods. |
|
|
Metalama.Introspection.Navigation
Walks objects of the Metalama code model and introspection API, summarizes them as result trees, and builds and resolves links to them. Shared by Metalama.LinqPad and Metalama.Mcp. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2027.0.9-preview | 56 | 11/25/2026 |
| 2027.0.8-preview | 109 | 11/22/2026 |
| 2027.0.7-preview | 118 | 11/18/2026 |
| 2027.0.6-preview | 84 | 11/11/2026 |
| 2027.0.5-preview | 83 | 10/30/2026 |
| 2027.0.4-preview | 108 | 10/13/2026 |
| 2027.0.3-preview | 152 | 9/16/2026 |
| 2027.0.2-preview | 102 | 9/10/2026 |
| 2027.0.1-preview | 128 | 9/7/2026 |
| 2026.1.33 | 131 | 11/16/2026 |
| 2026.1.32 | 152 | 11/10/2026 |
| 2026.1.31 | 175 | 10/29/2026 |
| 2026.1.30 | 190 | 10/13/2026 |
| 2026.1.29 | 217 | 10/2/2026 |
| 2026.1.28 | 190 | 9/16/2026 |
| 2026.1.27 | 196 | 9/10/2026 |
| 2026.1.26 | 191 | 9/5/2026 |
| 2026.1.25 | 234 | 8/21/2026 |
| 2026.1.24 | 228 | 8/13/2026 |
| 2026.1.23 | 173 | 8/10/2026 |