[Mono-dev] workflow foundation 4

Jonathan Pobst monkey at jpobst.com
Fri Nov 16 16:25:40 UTC 2012


Just a guess here, but I think maybe you took the Microsoft 
System.Activities.dll assembly out of:

C:\Program Files (x86)\Reference Assemblies\....

These assemblies have been stripped of all code and are simply empty 
methods and classes to compile against.

You will want to get the full assembly out of the MS GAC.

Jon

On 11/16/2012 10:11 AM, Chris Camplejohn wrote:
> Yes I understand that this is the case for some of their assemblies, but I am
> interested from a technical perspective what is the limitation? I would like
> to get it running with their assemblies before considering if we begin to
> rewrite them for Mono.
>
> But for example when I try to run a test workflow application under Mono
> using the Microsoft System.Activities.dll I get the following error.
>
> Unhandled Exception: System.InvalidProgramException: Invalid IL code in
> System.Activities.Activity:.ctor (): method body is empty.
>
>    at MonoWorkflowConsoleTest.Workflow1..ctor () [0x00000] in <filename
> unknown>:0
>    at MonoWorkflowConsoleTest.Program.Main (System.String[] args) [0x00000]
> in <filename unknown>:0
> [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid
> IL code in System.Activities.Activity:.ctor (): method body is empty.
>
>    at MonoWorkflowConsoleTest.Workflow1..ctor () [0x00000] in <filename
> unknown>:0
>    at MonoWorkflowConsoleTest.Program.Main (System.String[] args) [0x00000]
> in <filename unknown>:0
>
> Thanks
> Chris
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/workflow-foundation-4-tp1539102p4657422.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>



More information about the Mono-devel-list mailing list