Rocks 10.2.0

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

Rocks

Rocks logo

A mocking library based on the Compiler APIs (Roslyn + Mocks).

For more information, please see:

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.
  • net10.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
10.2.0 608 5/5/2026
10.1.0 12,070 2/24/2026
10.0.0 23,790 12/2/2025
10.0.0-alpha.2 197 11/4/2025
10.0.0-alpha.1 170 9/29/2025
9.3.0 8,209 9/15/2025
9.2.0 2,934 7/8/2025
9.1.0 1,734 5/11/2025
9.0.2 1,791 3/18/2025
9.0.1 1,851 12/15/2024
9.0.0 580 12/4/2024
9.0.0-alpha.1 157 10/22/2024
8.3.1 4,251 10/2/2024
8.3.1-alpha.1 153 9/29/2024
8.3.0 1,652 7/24/2024
8.2.0 615 7/17/2024
8.1.0 1,175 4/16/2024
8.0.0 936 1/22/2024
8.0.0-alpha.3 162 1/21/2024
8.0.0-alpha.2 150 1/14/2024
Loading failed