Mono vs coolite 0.8

Page 1 of 2 12 LastLast
  1. #1

    Mono vs coolite 0.8




    Hello, our company looking for new UI representation and coolite toolkit looks great. Also we are planing to use mono for our further releases, but Coolite.Ext.Web causes comilation error for System.Web.HttpResponse.Headers property(http://forums.ext.net/showthread.php...16239-4-1.aspx However this property seems hardcoded for IIS integrated mode and don't work even on WebDev) I've found posts where guys tells they're succsefully run coolite v0.7 on Mono.


    So


    1) Where can I download 0.7 version for testing?


    2) What is your plans for coolite and mono compatibility?
  2. #2

    RE: Mono vs coolite 0.8

    Hi ZIgi,

    I think the problem is more related to Mono maybe not supporting certain features of .Net 3.5. I think there was a problem with Mono support for one of the Attributes we use.

    I also think Json.Net (which we reference) is not supported on Mono.


    If you have any suggestions, or specifics about what does not work within the Toolkit on Mono, please feel free to post and we'll do our best to attempt a work-around or patch. It would be nice to provide full support with the v1.0 release.


    You can download previous releases from the following location, see http://forums.ext.net/showthread.php...5523-12-1.aspx


    Hope this helps.




    Geoffrey McGill
    Founder
  3. #3

    RE: Mono vs coolite 0.8

    I have tested on latest mono build but still no luck. Only working with ver. 0.7.
  4. #4

    RE: Mono vs coolite 0.8

    Hi,

    Can you remove try/catch block where is using Headers object, recompile and retest?
    AjaxRequestModule.cs -> AjaxRequestFilter function
  5. #5

    RE: Mono vs coolite 0.8

    Forgot to update. With latest mono build the error have changed. Previously the error is
    Method not found: 'System.Web.HttpResponse.get_Headers'

    Now:
    System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

    Same error after I commented try catch block.
  6. #6

    RE: Mono vs coolite 0.8

    Hi,

    Can you post stack trace of that exception?
  7. #7

    RE: Mono vs coolite 0.8

    System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
    at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
    at System.Reflection.Assembly.GetTypes () [0x00000]
    at System.Web.UI.TemplateParser.FindNamespaceInAssemb ly (System.Reflection.Assembly asm, System.String namesp) [0x00000]
    at System.Web.UI.TemplateParser.AddAssemblyForNamespa ce (System.String namesp) [0x00000]
    at System.Web.UI.TemplateParser.AddImport (System.String namesp) [0x00000]
    at System.Web.UI.TemplateParser.RegisterNamespace (System.String tagPrefix, System.String ns, System.String assembly) [0x00000]
    at System.Web.UI.TemplateControlParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x00000]
    at System.Web.UI.PageParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x00000]
    at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, TagType tagtype, System.String tagid, System.Web.Compilation.TagAttributes attributes) [0x00000]
    at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype, System.String id, System.Web.Compilation.TagAttributes attributes) [0x00000]
    at System.Web.Compilation.AspParser.Parse () [0x00000]
    at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader reader, System.String filename, Boolean doInitParser) [0x00000]
    at System.Web.Compilation.GenericBuildProvider`1[TParser].Parse () [0x00000]
    at System.Web.Compilation.GenericBuildProvider`1[TParser].get_CodeCompilerType () [0x00000]
    at System.Web.Compilation.BuildManager.GetCodeDomProv iderType (System.Web.Compilation.BuildProvider provider) [0x00000]
    at System.Web.Compilation.BuildManager+BuildItem..cto r (System.Web.Compilation.BuildProvider provider) [0x00000]
    at System.Web.Compilation.BuildManager.LoadBuildProvi ders (System.Web.VirtualPath virtualPath, System.String virtualDir, System.Collections.Generic.Dictionary`2 vpCache, System.Web.Compilation.BuildKind& kind, System.String& assemblyBaseName) [0x00000]
    at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000]
    at System.Web.Compilation.BuildManager.GetCompiledTyp e (System.String virtualPath) [0x00000]
    at System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath (System.String virtualPath, System.Type requiredBaseType) [0x00000]
    at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000]
    at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000]
    at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, Boolean ignoreContextHandler) [0x00000]
    at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000]
    at System.Web.HttpApplication+<Pipeline>c__Iterator2. MoveNext () [0x00000]
  8. #8

    RE: Mono vs coolite 0.8

    I think it could be function on ReflectionUtils.cs
  9. #9

    RE: Mono vs coolite 0.8

    Hi,

    May be but stack trace doesn't show callings from Coolite code. Is it full stack trace?
  10. #10

    RE: Mono vs coolite 0.8

    Here is the Monodevelop output.

    ** (/Library/Frameworks/Mono.framework/Versions/2.4.2.3/lib/mono/2.0/xsp2.exe:1725): WARNING **: The following assembly referenced from /var/folders/6P/6PDkeIoiFKidZoRUByokLE+++TI/-Tmp-/helmishariff-temp-aspnet-0/48b46f1e/assembly/shadow/40e57943/fdb34f78_bd56363b_00000001/Coolite.Utilities.dll could not be loaded:
    Assembly: EnvDTE (assemblyref_index=2)
    Version: 8.0.0.0
    Public Key: b03f5f7f11d50a3a
    The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/var/folders/6P/6PDkeIoiFKidZoRUByokLE+++TI/-Tmp-/helmishariff-temp-aspnet-0/48b46f1e/assembly/shadow/40e57943/fdb34f78_bd56363b_00000001/).


    ** (/Library/Frameworks/Mono.framework/Versions/2.4.2.3/lib/mono/2.0/xsp2.exe:1725): WARNING **: Could not load file or assembly 'EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

Page 1 of 2 12 LastLast

Similar Threads

  1. Coolite 0.82 on Mono
    By helmishariff in forum Open Discussions
    Replies: 37
    Last Post: Jun 01, 2010, 12:18 PM
  2. [1.0] Just for fun... MacOS and Mono
    By state in forum Open Discussions
    Replies: 19
    Last Post: Apr 16, 2010, 12:56 PM
  3. Coolite + Mono 2.0 + Linux(OpenSuse 11.0)
    By saaguilerac in forum Open Discussions
    Replies: 6
    Last Post: Dec 18, 2008, 10:25 PM
  4. Mono Support = Looking Promising :)
    By tobinharris in forum Open Discussions
    Replies: 3
    Last Post: Mar 31, 2008, 3:04 PM
  5. Mono Support
    By tobinharris in forum Open Discussions
    Replies: 4
    Last Post: Mar 28, 2008, 6:27 PM

Posting Permissions