Skip to content

Commit 7dc10ff

Browse files
committed
Updated install instructions now that we have an MVC 5 version.
1 parent d7f3ccf commit 7dc10ff

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,14 @@ FluentAssertions MVC is a set of MVC focused assertions and helper extensions to
44

55
## Installation
66

7-
Follow the instructions for the version of MVC you are using. For [MVC 3](#mvc-3) and [4](#mvc-4) just add the NuGet package. [MVC 5](#mvc-5) also requires a binding redirect.
7+
Add the NuGet package which matches the version of MVC you are using to your test project..
88

99
### MVC 5
1010

11-
Add the [MVC 4][nuget-mvc4] NuGet package to your unit test project:
11+
Add the [MVC 5][nuget-mvc5] NuGet package to your unit test project:
1212

1313
````
14-
PM> Install-Package FluentAssertions.Mvc4
15-
````
16-
17-
And add the following binding redirect to you test project's ````app.config```` file:
18-
19-
```` xml
20-
<dependentAssembly>
21-
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
22-
<bindingRedirect oldVersion="1.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
23-
</dependentAssembly>
14+
PM> Install-Package FluentAssertions.Mvc5
2415
````
2516

2617
### MVC 4
@@ -78,3 +69,4 @@ The [build][1] is generously hosted and run on the [CodeBetter TeamCity][2] infr
7869
[fa-frameworks]: https://github.com/dennisdoomen/fluentassertions/wiki/Documentation#supported-test-frameworks
7970
[nuget-mvc3]: https://www.nuget.org/packages/FluentAssertions.Mvc3
8071
[nuget-mvc4]: https://www.nuget.org/packages/FluentAssertions.Mvc4
72+
[nuget-mvc5]: https://www.nuget.org/packages/FluentAssertions.Mvc5

0 commit comments

Comments
 (0)