[CLOSED] Newest EXT build is not working with .NET framework 4.0

  1. #1

    [CLOSED] Newest EXT build is not working with .NET framework 4.0

    I updated the Ext trunk from svn, and have built the project with .dll file version 3.1.0.28071.

    I am using .NET framework 4.0, and when I try to build the solution, I get the following build errors:

    The type or namespace name 'TabPanel' does not exist in the namespace 'Ext.Net' (are you missing an assembly reference?).

    I am getting this for all controls related to Ext.

    Below is a sample of my Web.config

    <?xml version="1.0"?>
    <configuration>
      <configSections>
        <section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false"/>
      </configSections>
      <connectionStrings>
        <!--Connection strings here-->
      </connectionStrings>
      <extnet theme="Gray" licenseKey=" *** MY LICENSE KEY *** " initScriptMode="Linked" showWarningOnAjaxFailure="false"/>
      <system.web>
        <pages controlRenderingCompatibilityVersion="4.0">
          <controls>
            <add assembly="AjaxControlToolkit" tagPrefix="ajax" namespace="AjaxControlToolkit"/>
            <add assembly="Ext.Net" namespace="Ext.Net" tagPrefix="ext"/>
          </controls>
          <namespaces>
            <add namespace="Ext.Net"/>
          </namespaces>
        </pages>
        <httpHandlers>
          <add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false"/>
        </httpHandlers>
        <compilation debug="true" targetFramework="4.5">
          <assemblies>
            <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="AjaxControlToolkit, Version=4.1.60919.0,  Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>
            <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
          </assemblies>
        </compilation>
        <httpModules>
          <add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net"/>
        </httpModules>
      </system.web>
      <system.webServer>
        <modules runAllManagedModulesForAllRequests="true">
          <remove name="ScriptModule"/>
          <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net"/>
        </modules>
        <handlers>
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler"/>
        </handlers>
        <validation validateIntegratedModeConfiguration="false"/>
      </system.webServer>
      <runtime>
        <dependentAssembly>
          <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
          <bindingRedirect oldVersion="1.0.0.0-5.0.7" newVersion="5.0.8"/>
        </dependentAssembly>
        <dependentAssembly>
          <assemblyIdentity name="Ext.Net.Utilities" publicKeyToken="2c34ac34702a3c23"/>
          <bindingRedirect oldVersion="0.0.0.0-2.2.1" newVersion="2.3.0"/>
        </dependentAssembly>
        <dependentAssembly>
          <assemblyIdentity name="Transformer.NET" publicKeyToken="e274d618e7c603a7"/>
          <bindingRedirect oldVersion="0.0.0.0-2.1.0" newVersion="2.1.1"/>
        </dependentAssembly>
        <legacyHMACWarning enabled="0"/>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-2.2.13.0" newVersion="2.2.13.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-2.6.7.0" newVersion="2.6.7.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-2.6.7.0" newVersion="2.6.7.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
      <applicationSettings>
        <FusioLinks.Properties.Settings>
          <!--Application settings here-->
        </FusioLinks.Properties.Settings>
      </applicationSettings>
      <system.net>
        <defaultProxy enabled="true"/>
      </system.net>
    </configuration>
    Any help on this issue is appreciated.
    Last edited by Daniil; Feb 12, 2015 at 1:54 PM. Reason: [CLOSED]
  2. #2
    Hi @FpNetWorth,

    By default, it is built with .NET 4.5.

    Please choose the required .NET in the build modes:
    Attached Thumbnails Click image for larger version. 

Name:	Build mode.png 
Views:	8 
Size:	71.9 KB 
ID:	21111  
  3. #3
    Thank you, Daniil.

    It worked perfectly. This thread can now be closed.

Similar Threads

  1. Replies: 8
    Last Post: Mar 19, 2013, 6:18 PM
  2. Replies: 0
    Last Post: Dec 01, 2011, 6:34 AM
  3. Replies: 3
    Last Post: May 08, 2011, 2:08 AM
  4. [CLOSED] Desktop component isn't working with Build 3047
    By GavinR in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Sep 07, 2010, 10:06 AM
  5. [CLOSED] [MVC] Newest resource for MVC exampels
    By macap in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 04, 2010, 2:10 PM

Tags for this Thread

Posting Permissions