Hello,
I’m trying to upgrade an Azure Function v1 project which is currently targeting .Net Framework to an Azure Function v2 project (target .Net Core 2.1). Aspose.Cells is working fine for the moment however, I couldn’t manage to export a Project file using Aspose.Tasks (v19.11).
The code fails right at the begining, when instanciating new Project() class. I have the following exception :
System.Drawing is not supported on this platform.
at System.Drawing.Font…ctor(String familyName, Single emSize) in E:\A_work\21\s\corefx\bin\obj\AnyOS.AnyCPU.Release\System.Drawing.Common\netstandard\System.Drawing.Common.notsupported.cs:line 282
at #=zY8SuN0loc9$dRu$p6C8C1JFp5g8TESZHLw==.#=znRqcsP8=()
at #=zmE2DKBIBYtePup$S$t0hFoPv3KXTxJBRTw==.#=zg$4bxQQ=()
at #=zmE2DKBIBYtePup$S$t0hFoPv3KXTxJBRTw==.#=zC4oE5gQ=()
at #=zmE2DKBIBYtePup$S$t0hFoPv3KXTxJBRTw==.#=znRqcsP8=()
at #=zmE2DKBIBYtePup$S$t0hFoPv3KXTxJBRTw==.#=znRqcsP8=(Project #=zLif34To=, Stream #=zwnvJ_GQ=)
at #=zAK10VhVtCs79aSa5pGCXOFE=.#=znRqcsP8=(Stream #=zwnvJ_GQ=, Project #=zLif34To=)
at Aspose.Tasks.Project.#=zhrrXgukDfYzU(Stream #=zwnvJ_GQ=, ParseErrorCallback #=zVzRSc1nEHXuC, Encoding #=z3PMJ0S8=, PrimaveraXmlReadingOptions #=zNg1zWn8=)
at Aspose.Tasks.Project…ctor(String projectTemplate, ParseErrorCallback parseErrorHandler)
at Aspose.Tasks.Project…ctor(String projectTemplate)
Any idea ? I thought Aspose.Tasks with support for .Net Core 2.1 was added in v18.12 ?