Reputation: 586
WebOptimization framewooks seems to not works 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
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