Mvc.CascadeDropDown icon indicating copy to clipboard operation
Mvc.CascadeDropDown copied to clipboard

The type 'MvcHtmlString' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Mvc, Version=3.0.0.0

Open chking999 opened this issue 5 years ago • 1 comments

I'm getting the error below when I setup a dropdownlist in my .Net Core project. Does this only work with MVC 3.0?

Error CS0012 The type 'MvcHtmlString' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. AppsAdmin \filesvr02\adpis\Company\ISShared\Christian King\AppsAdmin\AppsAdmin\Pages\ImprovisImport.cshtml 11 Active Annotation 2019-11-21 134245

chking999 avatar Nov 21 '19 19:11 chking999

I get this also and it doesn't prevent anything from working but it is kind of a nuisance to always have red when you never know if it's a real issue or not. Mine is with using Html.Raw().

DanJ210 avatar Mar 17 '21 18:03 DanJ210