We use Aspose.Words 14.4.0 (old I know) through nuget.
We have just upgraded our projects to use PackageReference. The issue is that when referenced through the new PackageReference system, it is pulling through the Client Profile dll, rather than the full dll. There doesn’t seem to be a way to specify which version you want it to use in PackageReference system.
This means that we are hitting the following issue as described here https://docs.aspose.com/display/wordsnet/Saving+a+Document#SavingaDocument-SendingtoaClientBrowser:
This overload of the Save method is not available when using the .NET Client Profile DLL. This DLL is located in the net3.5_ClientProfile folder. The .NET Client Profile excludes assemblies such as System.Web therefore HttpResponse is not available. This is entirely by design. This can manifest itself as an error: "No overload for method 'Save' takes '4' parameters." If you need to use Aspose.Words in ASP.NET application, It is recommended to use the .NET 2.0 DLL where the correct overload described in this article is available.
How can we force nuget to pull the non-client profile version of the dll?