Closed michaeluskov closed 5 years ago
Hello, Michael!
Why is the following block of code outside the runtime
section?
<dependentAssembly>
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
</dependentAssembly>
I don't know, it was inserted the automatically after NuGet package installation. Should it be inside?
Should it be inside?
Yes.
It didn't help.
BTW IIS doesn't like this line:
<section name="core" type="BundleTransformer.Core.Configuration.CoreSettings, BundleTransformer.Core" />
See the Web.config
file from sample project.
I want to use UglifyJS's minifcation instead of Microsoft's standard one, so I've installed
BundleTransformer.UglifyJs
NuGet package. But after installing that package and rebuilding my app I get an IIS error with code0x800700b7
and error textThere's a duplicate of "bundleTransformer/core"
.As I see, two new sections appeared in Web.config:
And
I can't find any other pieces of Web.config containing
bundleTransformer
orcore
. What's wrong with my webapp's configuration?