Skip to content

Commit dec984b

Browse files
committed
Adding known issues section
1 parent 4ef7bc0 commit dec984b

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ I came up with this library after using the [MVCContrib.TestHelper](http://mvcco
1414
Installation
1515
------------
1616

17-
You can install this library using NuGet into your Test Library; it will automatically reference System.Web and System.Web.Mvc for you.
17+
You can install this library using NuGet into your Test Library; it will automatically reference System.Web and System.Web.Mvc (via NuGet packages) for you.
1818

1919
If you are using ASP.NET MVC 4 then:
2020

@@ -24,6 +24,15 @@ If you are using ASP.NET MVC 3 then:
2424

2525
Install-Package FluentMVCTesting.Mvc3
2626

27+
Known Issues
28+
------------
29+
30+
If you get the following exception:
31+
32+
System.Security.VerificationException : Method FluentMVCTesting.ControllerExtensions.WithCallTo: type argument 'MyApp.Controllers.MyController' violates the constraint of type parameter 'T'.
33+
34+
It means you are referencing a version of System.Web.Mvc that isn't compatible with the one that was used to build the dll that was generated for the NuGet package. Ensure that you are using the correct package for your version of MVC and that you are using the [AspNetMvc packages on nuget.org](https://nuget.org/packages/aspnetmvc) rather than the dll from the GAC.
35+
2736
Examples
2837
--------
2938

0 commit comments

Comments
 (0)