Hi
Following up on Conflicts with other Aspose products - #15 by amjad.sahi.
We are in the process of upgrading our Aspose components in a big eco-system.
When we upgrade and start using Aspose.Tasks 23.5+ our solution will no longer compile.
Attached is a very small sample project reproducing the issue.
AsposeTaskDrawingMessup.zip (1.7 KB)
Using Aspose.Tasks 23.4 it is compiling. Upgrading Nuget reference to Aspose.Tasks 23.5 it breaks.
It breaks due to Aspose.Tasks 23.5 is using Aspose.Drawing 22.12 - which has some problems with duplicating types in System.Drawing namespace.
The project builds to both .Net48 and Net6.0-window TFM.
Our hierarchy is a package DocumentUtilities that uses Aspose directly.
This package is then included in several other solutions, and summing up we have millions line of code. Some running .Net48 when built, some targeting net6.0-windows.
We need a solution to move forward.
Extern alias or other solutions that needs us to go through all products that depends on DocumentUtilities needs to have a large extent of files edited is not a solution.
We have encapsulated Aspose this way, to ensure it was disconnected from being directly used in the other packages/products.
Please let me know how to solve this problem. Reading other threads it seems the problem has been solved for other packages in the Aspose suite - but then/still introduced in Aspose.Tasks.
Best regards
/Anders