When I try to build My WF project I get this error. I've found that removing System.Activities.Presentation solves this error. If I get this error at runtime, I can investigate LoaderExceptions to find out about the root problem.

How can do the same when I get this error at compile time?
Alternatively, does anybody know how to solve this particular problem?

Extension 'Microsoft.Activities.Build.Validation.ValidationBuildExtension' threw an exception of type 'System.Reflection.ReflectionTypeLoadException' : 'Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.'.

有帮助吗?

解决方案

Try this:

Tools -> Options -> Projects and Solutions -> Build and Run -> MsBuild project build output verbosity -> Detailed (or diagnostic)

Visual studio will include much more detailed information about the build process in the output window.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top