Rocks 11.0.0
dotnet add package Rocks --version 11.0.0
NuGet\Install-Package Rocks -Version 11.0.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="Rocks" Version="11.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rocks" Version="11.0.0" />
<PackageReference Include="Rocks" />
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 Rocks --version 11.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rocks, 11.0.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 Rocks@11.0.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=Rocks&version=11.0.0
#tool nuget:?package=Rocks&version=11.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Rocks

A mocking library based on the Compiler APIs (Roslyn + Mocks).
For more information, please see:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Rocks:
| Package | Downloads |
|---|---|
|
Stashbox.Rocks
Rocks auto mocking integration for Stashbox. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Rocks:
| Repository | Stars |
|---|---|
|
themidnightgospel/Imposter
Mocking library with the perfect balance of Performance and Intuitive API
|
|
|
AntonyCorbett/OnlyR
Simple Windows Audio Recorder
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0 | 208 | 11/23/2026 |
| 10.3.4 | 18,286 | 9/29/2026 |
| 10.3.3 | 141 | 9/29/2026 |
| 10.3.2 | 2,085 | 9/19/2026 |
| 10.3.1 | 1,338 | 9/11/2026 |
| 10.3.0 | 20,605 | 6/4/2026 |
| 10.2.0 | 23,756 | 5/5/2026 |
| 10.1.0 | 14,707 | 2/24/2026 |
| 10.0.0 | 71,638 | 12/2/2025 |
| 10.0.0-alpha.2 | 241 | 11/4/2025 |
| 10.0.0-alpha.1 | 214 | 9/29/2025 |
| 9.3.0 | 16,481 | 9/15/2025 |
| 9.2.0 | 3,241 | 7/8/2025 |
| 9.1.0 | 1,991 | 5/11/2025 |
| 9.0.2 | 4,137 | 3/18/2025 |
| 9.0.1 | 2,088 | 12/15/2024 |
| 9.0.0 | 865 | 12/4/2024 |
| 9.0.0-alpha.1 | 195 | 10/22/2024 |
| 8.3.1 | 4,676 | 10/2/2024 |
| 8.3.1-alpha.1 | 197 | 9/29/2024 |
Loading failed
A changelog is available at https://github.com/JasonBock/Rocks/blob/main/changelog.md