Loading the WebObjectTree for ASP.NET MVC assembly in your web application
Product Name: WebObjectTree for ASP.NET MVC
Product Version: 1.0
Document Type: Informational
Last Updated: 8/9/2017
Document ID: 146
How to load the WebObjectTree assembly if you are having trouble.


The WebObjectTree assemblies are designed to target the major version of ASP.NET MVC in which they are designed. For example, if you are using ASP.NET MVC 5 the correct WebObjectTree assembly for this platform was compiled using ASP.NET MVC

This can create a binding issue if your web site is built using an updated version of ASP.NET MVC. For example, your web application might be using the latest version of this platform, which is ASP.NET MVC

In order to use the WebObjectTree assembly in your web application, you can add a mapping from the old version to the new version by updating your web.config file. Below is a sample web.config file that contains this mapping from to in bold. Adding this XML element to your web.config file should allow the WebObjectTree assembly to load correctly in your web application.

<?xml version="1.0" encoding="utf-8"?>
    <add key="webpages:Version" value="" />
    <add key="webpages:Enabled" value="false" />
    <add key="ClientValidationEnabled" value="true" />
    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="" newVersion="" />
Copyright © 2022 Coalesys, Inc. All Rights Reserved.