Nancy.ReSharper
Nancy.ReSharper copied to clipboard
Support ReSharper 9
I've tried setting up a v9 project but there's some changes with the MVC support that I'm not sure how to handle.
Classes like MvcAreaReference<T> and MvcControllerReference<T> now require a version to be passed to the constructor but I'm not sure what this represents or where it should come from.
I know @citizenmatt has helped with past updates so maybe he could shed some light on these changes.
:+1:
It's the version of MVC itself and is used mostly to work with changes in MVC6. It's used:
- To get correct signature for create method from an action reference - the action result type changed in MVC6, AIUI
- To provide the correct base type when creating a controller from an action reference - the controller class has changed in MVC6.
- To adapt view names to include display modes for MVC4+
I'm not sure how that would best be adapted for Nancy. I don't think any of these concepts (or actions) apply, so I'd be inclined to pass new Version(0, 0, 0, 0).