I am obviously missing some assembly or reference to make this work, it may be fluent assertions
or it may be Microsoft.Team Foundation.Warehouse
. Neither of which I am sure how to use / add as references (well I am sure how to install fluent assertions, it just did nothing!).
I found the code below online and I would like to use it but it is missing some components, rather than say any more here is a screen shot - I have installed fluent assertions library in order to try to get a compile (I believe "Should()" is s component of fluent assertions)
it seems to be upset at these two keywords [Fact]
and Should()
is this an easy win for someone to offer a hand?
The hover message says "System.Collections.Generic.List does not contain a definition for 'Should' and no extension method 'Should' accepting a first argument of type System.Collections.Generic.List could be found (as you missing a using directive ot an assembly reference?)"
Just add the
using FluentAssertions;
statement at the top. If you're unsure about the correct references, remove any physical instances ofFluentAssertions.*dll
and add the corresponding Nuget package.