[FIXED] [#850] [3.2.0] ext dll and MVC references

  1. #1

    [FIXED] [#850] [3.2.0] ext dll and MVC references

    Downloaded the MVC 3.2 version (ext.net/downloads). selected MVC and No examples explorer. Got Ext.NET.MVC.3.2.0.zip


    Extracted Ext.NET.MVC.3.2.0.zip\Ext.NET.MVC.3.2.0\lib\MVC4\n et451


    fixed all references to new DLLS and got this error.


    Error 1 Assembly 'Ext.Net, Version=3.2.0.20927, 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.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ext3\ThirdParty\Ext.NET.3.2.0\Ext.Net.dll Library




    How does the MVC4 version use the MVC5? Do i need to have both installed in DEV and PROD? But it will just use the MVC4? Doesnt make much sense.


    thanks
    /Z
    Last edited by fabricio.murta; Aug 07, 2015 at 8:30 AM.
  2. #2
    Hello @Z!

    It must have been a mistake during the packaging process. The MVC4 will not require MVC5 version. You can get the latest SVN sources and build the DLL in the proper configuration to use MVC4 and use the generated DLLs.

    We'll have a better look on this and decide what to do: either release a 3.2.1 with some other fixes or fix the already published package to the correct MVC4 links.
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Just an update. I was able to reproduce the issue and to comprove that building again fixes it.

    In fact, as soon as I rebuild and link the new DLLs, I get the error below:

    1>c:\devel\Object.NET\packages\Ext.NET.MVC.3.2.0\l ib\MVC4\net451\Ext.Net.dll : error CS1705: Assembly 'Ext.Net, Version=3.2.0.40337, Culture=neutral, PublicKeyToken=2e12ce3d0176cd87' uses 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

    I then just opened the NuGet console and updated MVC4 on my test project using:
    Install-Package Microsoft.Aspnet.MVC -version 4.0.40804.0
    And then I could successfully build it.
    Fabrício Murta
    Developer & Support Expert
  4. #4
    I used the MVC4 .net4 version and it is fine. only the 4.5.1 version is an issue

    Can you please rebuild and repost a corrected version of the EXT.NET 3.2

    Thanks.
    /Z
  5. #5
    Sure, we'll fix them and update the package, thank you very much for letting us know of this problem! As soon as its been update we'll update this thread telling you.
    Fabrício Murta
    Developer & Support Expert
  6. #6
    Hello, I'm marking the thread as close because we've found there were errors on the SVN files that caused that wrong DLL emission. Ah, yes, and fixed it on SVN as of revision 6505.

    The errors were fixed and we will discuss about releasing v3.2.1 in the short term with the DLL fixes and a couple other last minute fixes we done since 3.2.0 was released.

    As there will be other fixes, we expect to correct this problem and more in the 3.2.1 release. Is that alright for you?

    More info on the corresponding GitHub issue #850.
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] Ext.Net references System.Web.Mvc 4.0.0.1
    By RCN in forum 3.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 10, 2014, 6:55 PM
  2. Replies: 8
    Last Post: Aug 15, 2014, 4:34 AM
  3. Replies: 0
    Last Post: May 21, 2012, 1:42 PM
  4. Replies: 6
    Last Post: Nov 24, 2011, 12:47 PM
  5. Replies: 3
    Last Post: Jan 10, 2010, 1:42 PM

Posting Permissions