I've installed lastest Kend version, locally everything work as expected, but when I've launched DevOps build, i receive errors like this
AspNetPreCompile:
C:\windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe -v / -p d:\a\8\s\Source\ABB.cBOL.Web.Application\obj\x64\Release\AspnetCompileMerge\Source -c d:\a\8\s\Source\ABB.cBOL.Web.Application\obj\x64\Release\AspnetCompileMerge\TempBuildDir
##[error]/Content/kendo/2020.1.406/ascx/String.ascx(1,0): Error ASPPARSE: Could not load type 'System.Web.Mvc.ViewUserControl<object>'.
95>/Content/kendo/2020.1.406/ascx/String.ascx(1): error ASPPARSE: Could not load type 'System.Web.Mvc.ViewUserControl<object>'.
Same error for all kendo ascx file. The issue is cause from ASP.NET precompilation, done with PrecompileBeforePublish msbuild parameter, after found issue on DevOps I've exactly same issue locally compiling with commad line and PrecompileBeforePublish argument.
Seams that for some reason, Asp:net precompialtion do not search dll in the right place (of course MVC is referenced)
Any idea about how to solve this issue?