Rocks 9.3.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Rocks --version 9.3.0
NuGet\Install-Package Rocks -Version 9.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="Rocks" Version="9.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rocks" Version="9.3.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 9.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rocks, 9.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 Rocks@9.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=Rocks&version=9.3.0
#tool nuget:?package=Rocks&version=9.3.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 | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net9.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
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0 | 7,267 | 12/2/2025 |
| 10.0.0-alpha.2 | 166 | 11/4/2025 |
| 10.0.0-alpha.1 | 140 | 9/29/2025 |
| 9.3.0 | 6,222 | 9/15/2025 |
| 9.2.0 | 2,863 | 7/8/2025 |
| 9.1.0 | 1,674 | 5/11/2025 |
| 9.0.2 | 1,706 | 3/18/2025 |
| 9.0.1 | 1,796 | 12/15/2024 |
| 9.0.0 | 512 | 12/4/2024 |
| 9.0.0-alpha.1 | 129 | 10/22/2024 |
| 8.3.1 | 4,149 | 10/2/2024 |
| 8.3.1-alpha.1 | 132 | 9/29/2024 |
| 8.3.0 | 1,593 | 7/24/2024 |
| 8.2.0 | 554 | 7/17/2024 |
| 8.1.0 | 1,109 | 4/16/2024 |
| 8.0.0 | 871 | 1/22/2024 |
| 8.0.0-alpha.3 | 135 | 1/21/2024 |
| 8.0.0-alpha.2 | 120 | 1/14/2024 |
| 8.0.0-alpha.1 | 162 | 1/13/2024 |
| 7.3.0 | 910 | 11/26/2023 |
| 7.2.0 | 522 | 11/10/2023 |
| 7.1.4 | 576 | 10/7/2023 |
| 7.1.3 | 826 | 7/31/2023 |
| 7.1.2 | 394 | 7/26/2023 |
| 7.1.1 | 480 | 7/17/2023 |
| 7.1.0 | 582 | 7/3/2023 |
| 7.0.1 | 838 | 3/30/2023 |
| 7.0.0 | 1,173 | 11/20/2022 |
| 7.0.0-alpha.3 | 241 | 11/9/2022 |
| 7.0.0-alpha.2 | 250 | 10/10/2022 |
| 7.0.0-alpha.1 | 230 | 9/10/2022 |
| 6.4.5 | 1,545 | 6/29/2022 |
| 6.4.4 | 796 | 6/28/2022 |
| 6.4.3 | 868 | 5/23/2022 |
| 6.4.2 | 755 | 5/22/2022 |
| 6.4.1 | 1,088 | 4/15/2022 |
| 6.4.0 | 861 | 3/22/2022 |
| 6.3.0 | 6,764 | 11/24/2021 |
| 6.2.0 | 875 | 10/20/2021 |
| 6.0.0 | 922 | 4/12/2021 |
| 5.1.2 | 10,745 | 1/21/2021 |
| 5.1.1 | 810 | 1/21/2021 |
| 5.1.0 | 835 | 12/21/2020 |
| 5.0.0 | 852 | 12/10/2020 |
| 5.0.0-rc3 | 512 | 12/8/2020 |
| 5.0.0-rc2 | 514 | 12/2/2020 |
| 5.0.0-rc1 | 612 | 11/14/2020 |
| 4.2.1 | 1,031 | 7/25/2020 |
| 4.2.0 | 918 | 7/2/2020 |
| 4.1.1 | 944 | 4/27/2020 |
| 4.1.0 | 981 | 2/26/2020 |
| 4.0.0 | 1,431 | 9/23/2019 |
| 4.0.0-rc.2 | 491 | 8/10/2019 |
| 4.0.0-rc.1 | 493 | 7/18/2019 |
| 3.1.0 | 6,032 | 11/4/2017 |
| 3.0.0 | 3,287 | 8/18/2017 |
| 2.2.0 | 3,114 | 7/6/2017 |
| 2.1.7 | 3,094 | 7/4/2017 |
| 2.1.6 | 3,156 | 7/4/2017 |
| 2.1.5 | 3,106 | 7/4/2017 |
| 2.1.4 | 3,120 | 7/2/2017 |
| 2.1.3 | 3,118 | 7/2/2017 |
| 2.1.2 | 3,061 | 7/1/2017 |
| 2.1.1 | 3,123 | 7/1/2017 |
| 2.1.0 | 3,841 | 5/19/2017 |
| 2.0.0 | 4,180 | 5/1/2017 |
| 2.0.0-beta | 2,656 | 4/30/2017 |
| 1.1.1 | 3,124 | 5/4/2016 |
| 1.0.0 | 3,190 | 1/29/2016 |
| 1.0.0-beta1 | 3,099 | 8/8/2015 |
A changelog is available at https://github.com/JasonBock/Rocks/blob/main/changelog.md