Hi,
Prior to Beta2, the WorkflowEnvironment class may have gone by a different name (BatchEnvironment). In Beta2 though, it should indeed be present in the System.Workflow.Runtime namespace.
Please make sure that you have the appropriate import statements and that your references are set properly. If you're still having trouble, please attach some detail about your project to see if we can get to the bottom of it.
Thanks! Angel
Angel Azcarraga | Software Development Engineer in Test | Windows Workflow Foundation |