I have developed a WF4 solution on a 32-bit Windows Server 2008 environment running the .NET 4 framework and Visual Studio 2010 Ultimate. Because also BizTalk is installed on that box, those prerequisites are installed as well (like VS 2008).
Now I had a new 64 bit machine ready with Windows Server 2008 R2 and BizTalk 2010, so with only VS 2010 and all other BizTalk 2010 prerequisites.
I wanted to continue development on that Workflow Service on the new machine. Opening the solution in VS2010 was not a problem, but when I tried to open the XAMLX file on the new server, I ran into this error. Strange thing is that if I create a new Workflow
Service in VS2010, it runs just fine.
Can anybody help me with this? The solutions presented in other discussions couldn't help me.
System.InvalidOperationException: Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted.
Server stack trace:
at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse..ctor(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
View Complete Post