flamedmg
flamedmg

Reputation: 586

ASP.NET MVC 4 bundles are not working under mono v3

WebOptimization framewooks seems to not works correctly under mono in release mode

WebOptimization framewooks seems to not work correctly under mono in release mode

However it works fine if i set debug="true" option in web. config

I tried different things found over internet to fix this issue on IIS like setting module:

 <modules runAllManagedModulesForAllRequests="true">
  <remove name="BundleModule" />
  <add name="BundleModule" type="System.Web.Optimization.BundleModule" />
</modules>

Seems routes are not registered properly. Please advise.

Upvotes: 12

Views: 1519

Answers (1)

flamedmg
flamedmg

Reputation: 586

Found solution myself:

Also ensure you delete Microsoft.Web.Infrastructure.dll as Mono has its own implementation of this assembly (Microsoft's implementation is dependent on IIS).

After i deleted that file from BIN directory - everyting is working fine. Thank you MONO developer team. Answer was found here mono mail archive

Hope this will help somebody!

Upvotes: 22

Related Questions