Question

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.'.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top