Possible NuGet package issue

  1. #1

    Possible NuGet package issue

    An ASP.NET MVC 3 application by default has this line in Web.config
    <validation validateIntegratedModeConfiguration="false" />
    The line is also included in the Web.config.transform file of the NuGet package for Ext.NET
    When uninstalling the package, the line is removed.

    Another package I have installed, seems to depend on the line being there. In a default setting this works fine. But after uninstalling Ext.NET, the application crashes.

    Now the question to be asked: is Ext.NET at fault for including the line, or is the other package at fault for not including the line?
  2. #2
    Quote Originally Posted by Stijn View Post
    An ASP.NET MVC 3 application by default has this line in Web.config
    <validation validateIntegratedModeConfiguration="false" />
    The line is also included in the Web.config.transform file of the NuGet package for Ext.NET
    When uninstalling the package, the line is removed.

    Another package I have installed, seems to depend on the line being there. In a default setting this works fine. But after uninstalling Ext.NET, the application crashes.

    Now the question to be asked: is Ext.NET at fault for including the line, or is the other package at fault for not including the line?
    Thanks for reporting this issue.

    Removing the line could also be a defect in NuGet Package Manager. For example, if your other package also included the <validation> line, but NuGet did not check other Package requirements before removing with Ext.NET.

    To the best of my knowledge the <validation> config is required for the Ext.NET package, soo....

    1. Either the other Package should also include the <validation> config, or

    2. There may be a logic defect in NuGet.

    I'll try and reproduce the scenario.
    Geoffrey McGill
    Founder
  3. #3
    The other package in this specific case is dotless
  4. #4
    I installed and uninstalled Ext.NET 2.1.0 using the NuGet Package Manager Console and the validateIntegratedModeConfiguration property and <validation> node was added and removed correctly.

    I was using the following version of NuGet:

    Package Manager Console Host Version 2.1.31002.9028
    Hope this helps.
    Geoffrey McGill
    Founder
  5. #5
    Hi Geoffrey,

    after some testing it looks like the other package is missing the validation config. Removing the line and installing the package does not add the line.

    So you can mark this issue as closed/invalid. Thanks for your time.

Similar Threads

  1. Installing v2.0.0.rc1 Using NuGet
    By alexua in forum 2.x Help
    Replies: 2
    Last Post: Jul 02, 2012, 7:07 PM
  2. Ext.Net 2.0 Installation not working through NuGet
    By falinhares in forum 2.x Help
    Replies: 1
    Last Post: Jun 14, 2012, 4:10 PM
  3. Replies: 1
    Last Post: Mar 27, 2012, 3:30 PM
  4. Which edition is delivered via NuGet?
    By ivesoft in forum Licensing
    Replies: 1
    Last Post: Jan 06, 2012, 4:31 PM
  5. Zip package with sourcecode exsamples
    By plykkegaard in forum 1.x Help
    Replies: 0
    Last Post: Mar 01, 2009, 8:36 AM

Posting Permissions