Could not load file or assembly 'SystemExceptionEmail,Culture=neutral,PublicKeyToken=Null'.Operation is not supported.(0x80131515). Exception Type:System.IO.FileLoadException

I have built a library for sending email using UiPath.MicrosoftOffice365.Activities(2.1.1) in UiPath studio version 2022.4.4 in Windows compatibility mode.It is well tested and publised in orchestrator dev environment as well. When I consume this resuable library component in my Windows project it is not working.I have already given Nuget package file path in settings under manage packges.