Failed to set license Aspose.Tasks

I have upgraded from Aspose.Tasks (.NET) 23.2 to 23.8 (via nuget package) and now receive a licence error. Our project is a .NET Framework 4.8 64 bit project. We have a total licence and Cells, PDF, Words etc. are not affected by this error. (The last package to work appears to be 23.6).

The licence is added as an embedded resource to the project and initialised as so.

var tasksLicence = new Aspose.Tasks.License();
tasksLicence.SetLicense(“Aspose.Total.NET.lic”);

On the .SetLicence call the following error is received.

ailed to set license. Details: Cannot find license ‘Aspose.Total.NET.lic’.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=ztNVy8EQguHfiK1Jgxl78Un7KO39bkQNMNKP2rMbHiJfP(Exception #=zwVHc0fA=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zZ0dLYRbyxOctneAeoqAc5$u1T7p_(Object #=zwVHc0fA=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=z5NJyOWRTaFSgmD4G9TESEwuaIcLTa54RVA==(#=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0= #=zwVHc0fA=, #=qIMLP95zEbLhkVtxjLJB$xnzdzE05RJwYYMWsh8xCS8k= #=zup7xFdY=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zeLv95PV1$B4cwycBTcgRpTFPqOE6()
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zqLTnlwwzADM2iqf5nnelGMnBJnMN(Boolean #=zwVHc0fA=)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=ztNVy8EQguHfiK1Jgxl78Un7KO39bkQNMNKP2rMbHiJfP(Exception #=zwVHc0fA=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zZ0dLYRbyxOctneAeoqAc5$u1T7p_(Object #=zwVHc0fA=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zEJNEmUsjpvU4mFkrmA==()
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zH5ERPf3f9ecAe4mgajXdqugTiu4CuJQUom1waddP5mXr(Object #=zwVHc0fA=, UInt32 #=zup7xFdY=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zqLTnlwwzADM2iqf5nnelGMnBJnMN(Boolean #=zwVHc0fA=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zqLTnlwwzADM2iqf5nnelGMnBJnMN(Boolean #=zwVHc0fA=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zYqySha7nAGOLWFNCo$rc5nk=()
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zowkdrDIMSrfGVDjp7UIxzo6WSEeNnY_hG7SW7gI=(Object[] #=zwVHc0fA=, Type[] #=zup7xFdY=, Type[] #=zIkBC2Ns=, Object[] #=zrdV3bTw=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=z47a5p7jp9rrLYP537V3HUi4=(Stream #=zwVHc0fA=, Int32 #=zup7xFdY=, Object[] #=zIkBC2Ns=, Type[] #=zrdV3bTw=, Type[] #=zb0PNO4k=, Object[] #=zYumDCd8=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=znYCyZvAHUqg$J1rMHzrmXPA=(Int32 #=zwVHc0fA=, Type[] #=zup7xFdY=, Type[] #=zIkBC2Ns=, Boolean #=zrdV3bTw=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zHVK_PhrGCMvnxQBymCXtOAHWINhp2sFniQ==(#=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0= #=zwVHc0fA=, #=qIMLP95zEbLhkVtxjLJB$xnzdzE05RJwYYMWsh8xCS8k= #=zup7xFdY=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zeLv95PV1$B4cwycBTcgRpTFPqOE6()
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zqLTnlwwzADM2iqf5nnelGMnBJnMN(Boolean #=zwVHc0fA=)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=ztNVy8EQguHfiK1Jgxl78Un7KO39bkQNMNKP2rMbHiJfP(Exception #=zwVHc0fA=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zZ0dLYRbyxOctneAeoqAc5$u1T7p_(Object #=zwVHc0fA=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zEJNEmUsjpvU4mFkrmA==()
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zH5ERPf3f9ecAe4mgajXdqugTiu4CuJQUom1waddP5mXr(Object #=zwVHc0fA=, UInt32 #=zup7xFdY=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zqLTnlwwzADM2iqf5nnelGMnBJnMN(Boolean #=zwVHc0fA=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zYqySha7nAGOLWFNCo$rc5nk=()
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zowkdrDIMSrfGVDjp7UIxzo6WSEeNnY_hG7SW7gI=(Object[] #=zwVHc0fA=, Type[] #=zup7xFdY=, Type[] #=zIkBC2Ns=, Object[] #=zrdV3bTw=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zRV8_7163E$cXRbeS7b0e_uqdo0sTWlZCfmDd0fp4TWSo(Stream #=zwVHc0fA=, String #=zup7xFdY=, Object[] #=zIkBC2Ns=, Type[] #=zrdV3bTw=, Type[] #=zb0PNO4k=, Object[] #=zYumDCd8=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zboqsz0YcaREXuMy4Z7mQJoitKP9i(Stream #=zwVHc0fA=, String #=zup7xFdY=, Object[] #=zIkBC2Ns=)
at #=qXTYTKCKcG9XmO$oOSDtTZBUtNt7lFIVFgPJS9l5Cjx0=.#=zAPA2pKBhHJcIJ8YfKK419Q_r7HAwJlwl_loQc5E=(Stream #=zwVHc0fA=, String #=zup7xFdY=, Object[] #=zIkBC2Ns=)
at Aspose.Tasks.License.SetLicense(String licenseName)

I look forward to hearing from you.

Many thanks,

@lawgb686,
thank you for the alert.
We’ve already been informed about the issue.
The fix is ready and will be included in version 23.9.

@lawgb686
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): TASKSNET-10981

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as TASKSNET-10981) have been fixed in this update.

Release Notes