Hi Aspose.Imaging Team.
10 hours later diffing changesets and trying them by divide an conquer (integration tests didn’t well there… see later post)
After upgrading Aspose.Imaging 1.9 to 2.1
Windows Workflow has stopped to working:
It seems to be a problem that you are using something from the targeting pack and that your assembly isn't anymore .net 4.0 compatible.System.Xaml.XamlObjectWriterException: 'Failed to create a 'Settings' from the text 'Assembly references and imported namespaces for internal implementation'.' Line number '1' and line position '135'.
System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Machines that are building our application with 4.5 installed generate wrong mscorelib redirects using 2.1.
With 1.9 everything is fine.
Steps to reproduce:
use machine with 4.5 installed to compile this application:
Project with Aspose.Imaging 2.1
Latest BCL (all of them you will find on nuget, is the easiest way to reproduce, i cant diff there with out spending another 10 hours)
Workflow xaml as CustomTool: MSBuild:Compile and BuildAction XamlAppdef
Invoke the Workflow via Activator and schedule it
happy reproduce, this one cost me about 10 hours to get