Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Releases: microsoft/SimpleStubs

2.4.5

Choose a tag to compare

@nehmebilal nehmebilal released this 23 Mar 00:38
  • Use MSBuildLocator to dynamically load MSBuild as discussed in #39
  • Added special cases for IAsyncAction and IAsyncOperation (#41)

2.4.3

Choose a tag to compare

@nehmebilal nehmebilal released this 02 Mar 22:45
  • Add support for different platforms in MSBuild
  • Instead of failing the subs generation when the workspace has errors, ignore projects that don't open.

2.4.2

Choose a tag to compare

@nehmebilal nehmebilal released this 28 Feb 00:25
  • Bug fixes.
  • Support for custom event delegates with return type (see #36).

Bug fixes

Choose a tag to compare

@nehmebilal nehmebilal released this 18 Feb 22:41

This release fixes few bugs in 2.4.0.

2.4.0

Choose a tag to compare

@nehmebilal nehmebilal released this 14 Feb 18:56
55560b9
  • Write generated stubs to the intermediate output path (e.g. Debug/obj) instead of the Properties folder which solves several issues (including manually adding the stubs file for UWP).
  • Use an exe instead of an MSBuild task for generating stubs.

Bug Fixes

Choose a tag to compare

@nehmebilal nehmebilal released this 26 Jul 16:27

Mainly bug fixes

Choose a tag to compare

@nehmebilal nehmebilal released this 05 Jun 17:10
2.3.3

Update NuGet version to 2.3.3

Custom delegates, loose mocks, .NetCore, .NetStandard, bug fixes

Choose a tag to compare

@nehmebilal nehmebilal released this 04 May 23:43
  • Added support for custom delegates. See PR #17 (thanks @mclift).
  • Added support for loose mocks. See PR #15 (thanks @mclift ).
  • Added support for static usings, See PR #20 (thanks @Snorvisable).
  • Split the Etg.SimpleStubs into two packages, one for code generation and one that contains the SimpleStubs APIs. See #22.
  • Add support for new csproj based .NetCore and .NetStandard projects.

Add possibility to generate stubs for current project

Choose a tag to compare

@nehmebilal nehmebilal released this 16 Nov 07:23

This release adds the possibility to generate stubs for the project where SimpleStubs is installed (not only referenced projects). This is useful if you'd like to generate stubs for interfaces that are defined in your test project or in a shared project.

To enable this feature, set "StubCurrentProject" to true in the configuration file.

Add support for indexers

Choose a tag to compare

@nehmebilal nehmebilal released this 05 Sep 21:17

Stubbing indexers is now supported. This release addresses issue #6, thanks to @christiannagel for reporting this missing feature!

The documentation for stubbing indexers can be found here.