You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ I came up with this library after using the [MVCContrib.TestHelper](http://mvcco
14
14
Installation
15
15
------------
16
16
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.
18
18
19
19
If you are using ASP.NET MVC 4 then:
20
20
@@ -24,6 +24,15 @@ If you are using ASP.NET MVC 3 then:
24
24
25
25
Install-Package FluentMVCTesting.Mvc3
26
26
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.
0 commit comments