[FIXED] [#629] Some installation trouble with 2.5.3

  1. #1

    [FIXED] [#629] Some installation trouble with 2.5.3

    Hello,

    While installing various ext.net versions I found myself in two situations I cannot overcome:

    1. MVC 4 and Ext.Net 2.5.3 (or 2.5.0 or 2.4.0). Steps to reproduce:
      • Create a new ASP.NET MVC 4 application from VS 2010
      • Install Ext.Net MVC from Package Manager Console by typing: install-package ext.net.MVC -version 2.5.3
      • Build solution
      • Error:
        Assembly 'Ext.Net, Version=2.5.3.30997, Culture=neutral, PublicKeyToken=2e12ce3d0176cd87' uses 'System.Web.Mvc, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

    2. ASP.NET WebForms and Ext.Net 2.5.3. Steps to reproduce:
      • Create a new ASP.NET Empty Web Application from VS 2010 (target is .NET 4.5)
      • Install Ext.Net 2.5.3 from Package Manager Console by typing: install-package ext.net -version 2.5.3
      • No reference to Ext.Net and no Ext.Net.dll in packages folder.



    Any ideas especially for the 1st issue?
    Last edited by Daniil; Jan 06, 2015 at 10:09 AM. Reason: [OPEN] [#629]
  2. #2
    Hi Dimitris,

    1. This might help.
    http://forums.ext.net/showthread.php...l=1#post210242

    2. I've reproduced. Thank you for the report! We will investigate in the next year:)
  3. #3
    First things first, I've mentioned VS 2010 in my previous post by mistake. I am working with VS 2012.

    For issue 1:

    I've decided to install asp.net web tools 2013.1 from here. The problem remains for MVC 4 Web Application projects. Tried with MVC 5 project and everything worked but only after updating MVC to 5.2.2 from nuget.

    Will try to manually update/tweak MVC 4 project dlls and let you know.

    --

    Let me narrow things down a bit. What I am trying to do is create an empty MVC 4 + ext.net.mvc project that builds and runs. My steps:
    1. VS 2012 -> Create new MVC 4 web application
    2. Package manager console -> install-package ext.net.mvc
    3. Build -> Error: Assembly 'Ext.Net, Version=3.0.0.36701, Culture=neutral, PublicKeyToken=2e12ce3d0176cd87' uses 'System.Web.Mvc, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    4. Update project references -> Install MVC 5
    5. Build -> OK
    6. Run -> Error (in Global.asax.cs):
      Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


    So, this is it for now. I guess it will have to work next year :)
    Last edited by Dimitris; Dec 31, 2014 at 3:55 PM.
  4. #4
    Will try to manually update/tweak MVC 4 project dlls and let you know.
    Yes, it should help. As always, you can install a specific version of MVC using the "-version" directive in a NuGet console command.
  5. #5
  6. #6
    2. ASP.NET WebForms and Ext.Net 2.5.3. Steps to reproduce:
    • Create a new ASP.NET Empty Web Application from VS 2010 (target is .NET 4.5)
    • Install Ext.Net 2.5.3 from Package Manager Console by typing: install-package ext.net -version 2.5.3
    • No reference to Ext.Net and no Ext.Net.dll in packages folder.
    Yes, it seems there was such a problem with the Ext.NET 2.5.3 NuGet package, but it has been resolved in 2.5.3.1.

    Please try with:
    install-package ext.net -version 2.5.3.1
    https://www.nuget.org/packages/Ext.NET/2.5.3.1
  7. #7
    As for the problem with installing the Ext.Net.MVC package, we created this issue - Redeploy Ext.NET.MVC Nuget packages.

    We are going to add a dependency on ASP.NET MVC. So, installing Ext.Net.MVC should install/update ASP.NET MVC from NuGet if needed.
  8. #8
    This issue has been fixed with the Ext.NET 3.2.0 release, and further refinements were made with the Ext.NET 3.2.1 release.

    Hope this helps.
    Geoffrey McGill
    Founder

Similar Threads

  1. Ext.Net Installation Issue
    By Berdan in forum 2.x Help
    Replies: 9
    Last Post: Apr 18, 2014, 11:27 AM
  2. Replies: 6
    Last Post: May 07, 2013, 4:25 AM
  3. Problem with an Ext.NET installation
    By errno in forum 2.x Help
    Replies: 4
    Last Post: Apr 17, 2013, 11:47 AM
  4. Installation Problems
    By pyro in forum 1.x Help
    Replies: 7
    Last Post: Dec 22, 2011, 11:18 AM
  5. Ext.net 1.0 + installation problem
    By Birgit in forum 1.x Help
    Replies: 4
    Last Post: Nov 05, 2010, 1:16 PM

Posting Permissions