Nancy.ReSharper icon indicating copy to clipboard operation
Nancy.ReSharper copied to clipboard

Support ReSharper 9

Open xt0rted opened this issue 10 years ago • 2 comments

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.

xt0rted avatar Dec 23 '14 17:12 xt0rted

:+1:

TerribleDev avatar Jun 07 '15 13:06 TerribleDev

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).

citizenmatt avatar Jun 08 '15 11:06 citizenmatt