Prig 1.1.1

Prig: Open Source Alternative to Microsoft Fakes

Prig(PRototyping jIG) is a framework that generates a Test Double like Microsoft Fakes/Typemock Isolator/Telerik JustMock based on Unmanaged Profiler APIs. This framework enables that any methods are replaced with mocks. For example, a static property, a private method, a non-virtual member and so on.

Install-Package Prig -Version 1.1.1
dotnet add package Prig --version 1.1.1
paket add Prig --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 1.1.1
* [NOTICE] The family of v1 will be obsolete soon. We strongly recommend migrating to the family of the v2. About the way of the migration, please see [our Wiki](
* Support Visual Studio 2015.
* Merge the fixes that were applied to the family of the v2.

Version 1.1.0
* Release 1.1.
* Fixed #26: Prig assembly shouldn't need InternalsVisibleToAttribute.
* Fixed #27: Test stalled if adding the indirection settings for all members of DateTime.
* Fixed #28: The indirect tests sometimes fail.
* Supported the feature "Prig setup session" that makes adding the indirection stub settings more easier.

Version 1.0.0
* Release 1.
* Fixed #25: Default parameterized method can't call indirectly.

Version 0.0.0-alpha10
* Pre-release 10.
* Fixed #23: Can't be replaced the method that exposes the type of GAC unregistered assembly.
* Fixed #24: Add Comment-Based Help.
* Supported the feature that be able to replace any methods that have some non-public type in its signature.
* [NOTICE] Changed the generated stub's API. It became that the indirection stubs and proxies are generated ALWAYS(overwrite). Until now, it no longer generates stubs and proxies after it generated them once.

Version 0.0.0-alpha9
* Pre-release 9.
* Fixed #16: Nested Type can't be resolved in its indirection stub.
* Fixed #17: Prig can't uninstall correctly against the solution that contains multiple test projects.
* Fixed #18: `Get-IndirectionStubSetting` generates invalid alias against explict implemented interface.
* Fixed #19: `Find-IndirectionTarget` should filter the members that can't call indirectly by default.
* Fixed #20: Indirection stub settings for the instance method of an internal class generates build errors.

Version 0.0.0-alpha8
* Pre-release 8.
* Supported the feature to set default behavior.
* Modifying stub settings became a bit easier. The PowerShell command `Get-IndirectionStubSetting` supports generating unique name at the same time.
* Fixed #14: `Environment.GetFolderPath(SpecialFolder)` can't call indirectly.
* Fixed #15: `WebClient.DownloadStringTaskAsync` can't create indirection stub.

About more previous versions, please see


This package has no dependencies.

Version History

Version Downloads Last updated
1.1.1 (current version) 1,019 9/14/2015
1.1.0 358 12/31/2014
1.0.0 464 11/16/2014
0.0.0-alpha9 184 9/28/2014
0.0.0-alpha8 173 9/15/2014
0.0.0-alpha7 166 8/14/2014
0.0.0-alpha6 154 8/8/2014
0.0.0-alpha5 159 7/31/2014
0.0.0-alpha4 160 7/27/2014
0.0.0-alpha3 166 7/16/2014
0.0.0-alpha2 162 6/21/2014
0.0.0-alpha10 406 11/3/2014
0.0.0-alpha1 188 6/15/2014