Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Doug Moore 48 posts 103 karma points c-trib
    Aug 18, 2013 @ 16:15
    Doug Moore
    0

    Will not work alongside .NET v4.5

    It seems that Workflow is being hit by this bug: http://stackoverflow.com/questions/13748055/could-not-load-type-system-runtime-compilerservices-extensionattribute-from-as

     

    I am very unfamiliar with ilmerge (couldn't get it working when trying to modify the source), or I would try to fix it myself. Could we either get a working version or some information on merging it ourselves?

  • Doug Moore 48 posts 103 karma points c-trib
    Aug 19, 2013 @ 18:27
    Doug Moore
    0

    To get around this, I attempted to simply include every dll invidiually. I am working from what is on github, but I get this error when I do:

     

    The method specified by the PreApplicationStartMethodAttribute on assembly 'FergusonMoriyam.Workflow.Umbraco.Web.Ui, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' cannot be resolved. Type: 'FergusonMoriyam.Workflow.Umbraco.Application.UmbracoWorkflowApplicationBase', MethodName: 'RegisterModules'. Verify that the type is public and the method is public and static (Shared in Visual Basic).

     

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.Web.HttpException: The method specified by the PreApplicationStartMethodAttribute on assembly 'FergusonMoriyam.Workflow.Umbraco.Web.Ui, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' cannot be resolved. Type: 'FergusonMoriyam.Workflow.Umbraco.Application.UmbracoWorkflowApplicationBase', MethodName: 'RegisterModules'. Verify that the type is public and the method is public and static (Shared in Visual Basic).

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace: 

    [HttpException (0x80004005): The method specified by the PreApplicationStartMethodAttribute on assembly 'FergusonMoriyam.Workflow.Umbraco.Web.Ui, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' cannot be resolved. Type: 'FergusonMoriyam.Workflow.Umbraco.Application.UmbracoWorkflowApplicationBase', MethodName: 'RegisterModules'. Verify that the type is public and the method is public and static (Shared in Visual Basic).]
       System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromAssemblyCollection(IEnumerable`1 assemblies, Boolean buildingFromCache) +619
       System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath) +260
       System.Web.Compilation.BuildManager.ExecutePreAppStart() +153
       System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1037
    
    [HttpException (0x80004005): The method specified by the PreApplicationStartMethodAttribute on assembly 'FergusonMoriyam.Workflow.Umbraco.Web.Ui, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' cannot be resolved. Type: 'FergusonMoriyam.Workflow.Umbraco.Application.UmbracoWorkflowApplicationBase', MethodName: 'RegisterModules'. Verify that the type is public and the method is public and static (Shared in Visual Basic).]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +646
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +771
  • Doug Moore 48 posts 103 karma points c-trib
    Aug 19, 2013 @ 22:33
    Doug Moore
    0

    ok, so, I seem to have gotten ilmerge working, but...  what is c:\www\installer6\bin?

  • Doug Moore 48 posts 103 karma points c-trib
    Aug 27, 2013 @ 16:54
    Doug Moore
    0

    I believe I got everything to merge ok, I just left out the installer6 stuff.. but I get this error simply by swapping in my merged dll that was created with the merge.bat with just the v4 reference being different (as listed in the above SO link):

     

    Error creating context 'spring.root': Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Please Sign in or register to post replies

Write your reply to:

Draft