I have an ASP .NET project that contains one emdx model; the project worked fine before I add a Workflow activity to it. When the workflow activity is added to the project, the following error happens "Unable to load the specified metadata resource". I examined the generated .dll file using reflector in both cases and I found that
1- when I remove the workflow activity, the resource files (.csdl,.msl,.ssdl) are embedded correctly.
2- when the workflow activity exists, the resources are not embedded, instead the workflow resource files are embedded.
The workflow activity is ABC.xaml. in resources, I found these two files only (ABC.g.xaml, TestApp_ABC_BeforeInitializeComponentHelper.txt).
Is there any fix that will make the .edmx resource file be embedded while using Workflow.