Jul 12, 2013 at 2:39 PM
Edited Jul 12, 2013 at 4:21 PM
I am using ASP.MVC 4 on .NET 4.0 (NOT 4.0.3).
I receive the following warning using the ASP.Net Compiler:
"D:\Development\SCCProjectInspiration\SystemControlCenter\SCC.build" (default t
arget) (1) ->
ln" (default target) (2) ->
ystemControlCenter.csproj" (default target) (3) ->
(AspNetPreCompile target) ->
ASPNETCOMPILER : warning : The following assembly has dependencies on a versi
on of the .NET Framework that is higher than the target and might not load corr
ectly during runtime causing a failure: WebGrease, Version=188.8.131.52, Culture=neu
tral, PublicKeyToken=31bf3856ad364e35. The dependencies are: System.Windows.For
ms, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b77a5c561934e089. You shou
ld either ensure that the dependent assembly is correct for the target framewor
k, or ensure that the target framework you are addressing is that of the depend
ent assembly. [D:\Development\SCCProjectInspiration\SystemControlCenter\SystemC
I use Webgrease as a dependency of Microsoft.AspNet.Web.Optimization package.
Is it possible that Webgrease requires .NET 4.5 or should i put an assembly redirect directive in my web.config or is this a bug in WebGrease?