Hi,
When I am using Microsoft workflow Foundation ncrunch is unable to build projects and return the following message:
Quote:C:\windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Xaml.targets: Extension 'Microsoft.Activities.Build.Validation.ValidationBuildExtension' threw an exception of type 'System.Xaml.XamlObjectWriterException' : 'The invocation of the constructor on type 'type' that matches the specified binding constraints threw an exception.'.
To reproduce it, you need 3 projects in a Solution:
Solution
---ActivityLib (contains Xaml activities)
---Consumer (also contains xaml activities that uses activity from ActivityLib)
---TestProject (Contains a test which test the activity)
When all references are equal NCrunch is able to build and execute the test, but as soon as ActivityLib uses a additional reference to any dll or nuget package which Consumer does not have. NCrunch is unable to build Consumer project.
I tested the same project with the test runner from resharper and they were able to build the project and to run the tests. So I guess it a kind of settings maybe to get it running? Does anybody can advice me to get NCrunch building the project.
Best regards.