CanDoItAll.CodeAnalytics.Workspace 0.3.0

dotnet add package CanDoItAll.CodeAnalytics.Workspace --version 0.3.0
                    
NuGet\Install-Package CanDoItAll.CodeAnalytics.Workspace -Version 0.3.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="CanDoItAll.CodeAnalytics.Workspace" Version="0.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CanDoItAll.CodeAnalytics.Workspace" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="CanDoItAll.CodeAnalytics.Workspace" />
                    
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 CanDoItAll.CodeAnalytics.Workspace --version 0.3.0
                    
#r "nuget: CanDoItAll.CodeAnalytics.Workspace, 0.3.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 CanDoItAll.CodeAnalytics.Workspace@0.3.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=CanDoItAll.CodeAnalytics.Workspace&version=0.3.0
                    
Install as a Cake Addin
#tool nuget:?package=CanDoItAll.CodeAnalytics.Workspace&version=0.3.0
                    
Install as a Cake Tool

CanDoItAll CodeAnalytics for .NET 10

Inspect C# solutions and projects with Roslyn and MSBuild. The engine builds architecture snapshots with project dependencies, service registrations, symbols and EF Core model facts. A separate live query selects impacted tests from changed source files and ranges.

Use the engine

In the executable project that opens the workspace, install the application facade. It brings in the seven engine libraries.

dotnet add package CanDoItAll.CodeAnalytics.Application

The Workspace package passes Roslyn's build-host files through to the executable. MSBuild Locator loads build assemblies from the installed SDK. Declare the following runtime exclusions in the executable project to keep NuGet from copying competing assemblies into its output.

<ItemGroup>
  <PackageReference Include="Microsoft.Build.Framework" Version="18.8.2" PrivateAssets="all" ExcludeAssets="runtime" />
  <PackageReference Include="Microsoft.NET.StringTools" Version="18.8.2" PrivateAssets="all" ExcludeAssets="runtime" />
</ItemGroup>

Projects that only use domain models or render stored snapshots can reference Domain or Rendering directly.

The analyzing process needs a .NET SDK that can build the target workspace. Restore the target solution first. Register the engine services using the composition example. Supply a writable directory for snapshots and exports.

  • Use ICodeAnalyticsApplicationService.BuildSnapshotAsync to build or reuse a snapshot. Pass its ID to query dependencies, symbols, findings, or Markdown and Mermaid exports.
  • Use ITestImpactAnalysisService.AnalyzeAsync with the changed paths and test workspaces to get test selectors, workspace health, and diagnostics.

Libraries

Package suffix Responsibility
Application Snapshot orchestration, queries and live test-impact selection
Abstractions Service contracts, requests and results
Domain Snapshot, fact and diagnostic models
Workspace SDK discovery, MSBuild workspace loading and source inventory
Facts Symbol, DI, persistence and test-impact facts
Analysis Findings and architecture insights
Rendering Markdown and Mermaid exports
Storage File-system snapshot and export storage

API reference · Test-impact guide · CanDoItAll

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 (2)

Showing the top 2 NuGet packages that depend on CanDoItAll.CodeAnalytics.Workspace:

Package Downloads
CanDoItAll.CodeAnalytics.Facts

Roslyn collectors for symbols, dependency injection and EF Core persistence metadata, plus the semantic graph used for impacted-test selection.

CanDoItAll.CodeAnalytics.Application

Build, cache and query C# architecture snapshots and select impacted tests from changed source using Roslyn workspaces.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0 73 12/2/2026
0.1.18 198 7/31/2026
0.1.17 176 7/30/2026
0.1.15 160 7/25/2026