Foq 1.8.0

dotnet add package Foq --version 1.8.0
NuGet\Install-Package Foq -Version 1.8.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="Foq" Version="1.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Foq --version 1.8.0
#r "nuget: Foq, 1.8.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.
// Install Foq as a Cake Addin
#addin nuget:?package=Foq&version=1.8.0

// Install Foq as a Cake Tool
#tool nuget:?package=Foq&version=1.8.0

Foq is a lightweight thread-safe mocking library for F#, C#, and VB with a similar API to Moq.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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 Foq:

Package Downloads
AutoFixture.AutoFoq The ID prefix of this package has been reserved for one of the owners of this package by

This extension turns AutoFixture into an Auto-Mocking Container. The mock instances are created by Foq. To use it, add the AutoFoqCustomization to your Fixture instance.


A context/specification test framework, heavily inspired by RSpec

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Foq:

Repository Stars
AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
A collection of .NET libraries for rendering mathematical formulae using the LaTeX typesetting style, for the WPF and Avalonia XAML-based frameworks
This repository illustrates the road to orleans with practical, real-life examples. From most basic, to more advanced techniques.
.Net Building Blocks
Version Downloads Last updated
1.8.0 506,708 6/29/2018
1.7.3 23,426 10/21/2017
1.7.2 9,939 4/17/2017
1.7.1 20,554 6/14/2015
1.7.0 4,097 3/4/2015
1.6.0 12,110 2/6/2014
1.5.1 36,327 1/27/2014
1.5.0 1,383 1/26/2014
1.4.0 2,216 12/2/2013
1.3.0 2,606 10/24/2013
1.2.0 1,520 10/1/2013
1.1.0 1,832 8/24/2013
1.0.0 6,490 6/20/2013
0.9.0 1,734 3/20/2013
0.8.0 1,537 2/27/2013
0.7.0 1,488 2/12/2013
0.6.0 1,471 1/27/2013
0.5.0 1,510 1/6/2013
0.4.0 1,449 1/3/2013
0.3.0 1,410 12/26/2012
0.2.0 1,672 11/18/2012
0.1.0 3,552 11/17/2012

Support for .NET Core/.NET Standard 2.0