AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet
0.1.0
dotnet add package AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet --version 0.1.0
NuGet\Install-Package AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet -Version 0.1.0
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="AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet" Version="0.1.0" />
<PackageReference Include="AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet" />
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 AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet, 0.1.0"
#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 AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet@0.1.0
#: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=AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet&version=0.1.0
#tool nuget:?package=AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet
Pure adapters from pre-loaded .NET solution topology (.slnx / msbuild project rows) into the IDE session graph — no disk IO inside.
What you get
DotNetSlnxGraphPort.buildGraph— topology rows →SolutionGraph: project nodes (C#/F# kinds), project-reference relations, document ownershipDotNetSlnxGraphPort.buildProjectNodes/buildProjectRefRelations/buildDocumentOwnership— the same steps, individuallyMsBuildSolutionProvider—ISolutionInfoProvider("msbuild") over pre-loaded rows: name, fingerprint, entries, relationsWorkspaceViewPort.emit— frozen snapshot + graph →WorkspaceView(projects with language ids, unified documents, revision/anchor/mode)DesignTimeCompilerServicesPort.materialize— ADR-0062 §5 freeze-tree port: resolve the owning project, freeze the closure, emit the view, mark the capability materialized (returnsEnsured/Failedwith stable reason strings)
Quick start
open AIGuiders.Platform.Modeling.Ide.Session
open AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet
// You load the rows (msbuild/slnx reader of your choice); the port stays pure:
// topology : DotNetSolutionTopology (SolutionPath, Fingerprint, Rows)
let graph = DotNetSlnxGraphPort.buildGraph topology
// Same topology as an ISolutionInfoProvider for composition roots
let provider = MsBuildSolutionProvider.create topology
let entries = (provider :> ISolutionInfoProvider).Entries()
Problem
- Every tool that wants "the solution as a graph" re-writes the same glue:
- parse .slnx / walk msbuild projects → project list
- resolve project references into relations
- decide which project owns which source file
- The glue is IO-heavy, so the model built on top of it becomes untestable.
Solution
- IO stays at the edge: callers pre-load topology rows, the port turns them into the session graph purely — the graph layer stays testable with synthetic rows.
- The freeze/view pipeline (
materialize,emit) is the same port the federation orchestrator uses. - Battle-tested as the .NET session port of the Guiders federation — FSHARP ADR-0004 · ADR-0062.
When not to use
- Loading the topology — this port consumes rows; msbuild invocation and file reads are yours (or the Execution layer's).
- Unknown project kinds throw (
Unsupported managed project) — wrap mixed solutions with your own filter if you expect non-C#/F# entries. - Non-.NET workspaces —
.Ports.Workspacecovers document-centric graphs.
Learn more
MIT · Source & issues · part of the Guiders federation
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- AIGuiders.DotNetWorkspace.Core (>= 0.1.1)
- AIGuiders.Platform.Modeling.Ide.Session (>= 0.1.0)
- FSharp.Core (>= 10.1.401)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AIGuiders.Platform.Modeling.Ide.Session.Ports.DotNet:
| Package | Downloads |
|---|---|
|
AIGuiders.Platform.Modeling.Language.Adapters.Fcs
F# Compiler Service backend for Language Resolver Center. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 96 | 10/24/2026 |