.net 4.0 beta2 + coolite

  1. #1

    .net 4.0 beta2 + coolite

    1)build source code by vs2010 target framework = 4.9

    2)Change The ViewStateMode= Coolite......

    3)use the Assembly then error

    Inheritance security rules violated by type: 'Coolite.Ext.Web.WebControlDesigner'. Derived types must either match the security accessibility of the base type or be less accessible.
  2. #2

    it can be compiled

    Quote Originally Posted by sipo View Post
    1)build source code by vs2010 target framework = 4.9

    2)Change The ViewStateMode= Coolite......

    3)use the Assembly then error

    Inheritance security rules violated by type: 'Coolite.Ext.Web.WebControlDesigner'. Derived types must either match the security accessibility of the base type or be less accessible.
    - add latest version of Newtonsoft.Json.dll; (and fix some errors related to jSON reader, etc; add null in the end if method expected more arguments, etc)
    - under Coolite.Ext.Web AssemblyInfo.cs add '[assembly: System.Security.SecurityRules(System.Security.Secu rityRuleSet.Level1)] '
    - under '\Coolite.Ext.Web\Core\ResourceManager.cs' replace line:
    cache.SetLastModified(new DateTime(ResourceManager.GetAssemblyTime(typeof(Re sourceManager).Assembly)));
    to
    cache.SetLastModified(new DateTime(2012, 08, 31)); //etc
    and now all will work fine under 4.0 framework...

Similar Threads

  1. Replies: 2
    Last Post: Jun 02, 2012, 7:45 AM
  2. EXT.NET Beta2 Release 25 May
    By Therruco in forum 2.x Help
    Replies: 3
    Last Post: May 29, 2012, 6:30 AM
  3. Replies: 2
    Last Post: Feb 21, 2010, 12:05 AM
  4. Using Coolite GridPanel without Coolite Store
    By r_honey in forum 1.x Help
    Replies: 6
    Last Post: Jan 20, 2009, 7:07 AM
  5. [CLOSED] help files for coolite? (extjs verses coolite)
    By pkellner in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 25, 2008, 12:19 PM

Posting Permissions