'System.Web.UI.WebControls.GridView' does not contain a definition for 'ItemType'

C

Carl_278

We're using asp.net framework 4.8 and when publishing it, the aspnet_compiler.exe outputs this error multiple times:'System.Web.UI.WebControls.GridView' does not contain a definition for 'ItemType' and no extension method 'ItemType' accepting a first argument of type 'System.Web.UI.WebControls.GridView' could be found (are you missing a using directive or an assembly reference?)It doesn't show these compile errors when we build each project in the solution where it is updatable. But when running aspnet_compiler.exe to make it non-updatable, that is where it shows the compile errors.Here's an

Continue reading...
 
Back
Top Bottom