[CLOSED] Error compile .Net Framework 4

  1. #1

    [CLOSED] Error compile .Net Framework 4

    I am compiling the solution Ext I downloaded from SVN repository.

    In the project properties Ext.Net changed the framework for Target property ".Net framework 4 "

    But in the toolbox to add the new dll compiled in Framework 4, gives the following error:

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    There was an error loading types from assembly 'D:\Ext.Net\Ext.Net\bin\Release\Ext.Net.dll'
    
    'Inheritance security rules violated by type: 'Ext.Net.ExtControlDesigner'. Derived types must either match the security accessibility of the base type or be less accessible.'
    
    
    
    For more information, click the help button.
    ---------------------------
    OK   Ajuda   
    ---------------------------
    Last edited by Daniil; May 02, 2011 at 10:34 AM. Reason: Marked as [CLOSED]. No more information was provided.
  2. #2
    Hi,

    I just tried to check-out the Ext.Net and build it. The solution Ext.Net.2010.all.sln with .NET 4.0 has been built without any errors.

    I can suggest you to remove Ext.Net sources at all, make new check-out and build again.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    I just tried to check-out the Ext.Net and build it. The solution Ext.Net.2010.all.sln with .NET 4.0 has been built without any errors.

    I can suggest you to remove Ext.Net sources at all, make new check-out and build again.

    Compile it compiles without problems.

    The error happens when I include the new dll in the toolbox.
  4. #4
    Oh, I misunderstood.

    Well, I just tried to add Ext.Net.dll to the Toolbox - also without any errors.

    Well, I'm still suggesting you to follow:
    I can suggest you to remove Ext.Net sources at all, make new check-out and build again.
  5. #5
    Hi,

    Why do you need to compile the Ext.NET assembly under .NET 4?
    Geoffrey McGill
    Founder & CEO

Similar Threads

  1. Ext.Net.Desktop compile error
    By Mahi in forum 1.x Help
    Replies: 1
    Last Post: Apr 25, 2012, 8:24 PM
  2. Ext.net.Desktop compile error
    By Mahi in forum 2.x Help
    Replies: 1
    Last Post: Apr 25, 2012, 6:48 PM
  3. [CLOSED] Strange error after compile last svn update
    By Marcelo in forum 1.x Premium Help
    Replies: 5
    Last Post: Jun 28, 2011, 12:31 PM
  4. [CLOSED] [1.0] Ext.Net.Field.SetValue compile error
    By egodoy in forum 1.x Premium Help
    Replies: 2
    Last Post: May 13, 2010, 3:25 PM
  5. [CLOSED] Compile error on build 1331
    By Jurke in forum 1.x Premium Help
    Replies: 2
    Last Post: Apr 22, 2009, 8:28 AM

Posting Permissions