I wonder if I can use an "old" .NET 4.5.x DLL, which depends on System.Web.Mvc
v4.0.0.0 in an aspnet5 (MVC6) project. I have an external library with lots of Html helpers that I would like to use. Is this at all possible?
I try referencing the DLL, but I get the following compiler error, which makes sense:
CS0012 The type 'HtmlHelper' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
Is there any way to do this?