I'm developing a self host workflow in vs2012/.Net 4.5/WF 4.5 and having quite a hard time figuring out the following message
Expression Activity type 'CSharpValue`1' requires compilation in order to run. Please ensure that the workflow has been compiled.
This error happens when i call a activity generated by a service reference (When you add a WCF service reference, each action on the endpoint become a activity).
Looking around in MSDN i've came across these articles:
They said that
When a workflow service is hosted in IIS or WAS then no additional steps are required, but if the XAML workflow service is self-hosted, then the C# expressions must be compiled
So, i finally get to my question: What should I do so i can hit F5 and debug my workflow, having it run on IIS? and stop this god damn exception...
I've tried to go to the project config and set to use local IIS as follow:
but since i still get the error i assume it's not working...
Despite what the article said about running on IIS/WAS I only managed to run the workflow when I implemented the fabric sugested... this is not an answer for the question... its more like a workaround...