Skip to content

Upgrade to FluentAssertions v6 #42

Open
@rikrak

Description

@rikrak

Updating my project to the latest FluentAssertions library causes runtime errors:
System.MissingMethodException: Method not found: 'Void FluentAssertions.Primitives.ReferenceTypeAssertions`2.set_Subject(!0)'.
at FluentAssertions.Mvc.ActionResultAssertions..ctor(ActionResult subject)
at FluentAssertions.Mvc.AssertionsExtensions.Should(ActionResult actual)

This is due to v6 having some breaking changes, specifically around how the Assertions base classes are constructed

Activity

kevinkuszyk

kevinkuszyk commented on Nov 19, 2021

@kevinkuszyk
Member

@rikrak apologies again with the delay on this.

As you can probably tell, I'm not spending much time in the .net space at the moment. As you've been the most active contributor here, how would you feel about coming on board as a maintainer?

And on that subject, we're going to need to ship a new version with this in. Would you mind to open another PR which bumps the version to 0.9.0. Once that's in, I'll cut a new release to NuGet.

rikrak

rikrak commented on Nov 20, 2021

@rikrak
ContributorAuthor

Maintainer? Yep, can do. Let me know if there are any rules and such

I think the version is already at v0.9.0. I'm going off memory here though.

rikrak

rikrak commented on Nov 20, 2021

@rikrak
ContributorAuthor

Yep it's at v0.9.0 already

[assembly: AssemblyVersion("0.9.0")]

rikrak

rikrak commented on Nov 27, 2021

@rikrak
ContributorAuthor

@kevinkuszyk is there anything else you need before package release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @kevinkuszyk@rikrak

        Issue actions

          Upgrade to FluentAssertions v6 · Issue #42 · fluentassertions/fluentassertions.mvc