Describe the bug
It would make sense to include this package in a class library so that it can be referenced from other parts of the application. However when trying to install in a netstandard2.1 project, the following error is given:
Package DocXToPdfConverter 1.0.3 is not compatible with netstandard2.1 (.NETStandard,Version=v2.0). Package DocXToPdfConverter 1.0.3 supports: netcoreapp2.1
Expected behavior
Is there any reason why this library requires netcoreapp2.1 and cannot support netstandard2.1?
I have found that you can do the following:
- DocXToPdfConverter change
TargetFramework to netstandard2.1. This requires no code changes.
- ExampleApplication target
netcoreapp3.1
And then everything will work. Your nuget package will then be a netstandard2.1 package to then be consumed in libraries.
The only reason for netstandard2.1 instead of the more generic netstandard2.0 is due to line 93 in ConvertWithLibreOffice.cs with ProcessStartInfo's ArgumentList. I'm sure there is away around this, but this was just a quick attempt to check compatibility.
Describe the bug
It would make sense to include this package in a class library so that it can be referenced from other parts of the application. However when trying to install in a
netstandard2.1project, the following error is given:Package DocXToPdfConverter 1.0.3 is not compatible with netstandard2.1 (.NETStandard,Version=v2.0). Package DocXToPdfConverter 1.0.3 supports: netcoreapp2.1Expected behavior
Is there any reason why this library requires
netcoreapp2.1and cannot supportnetstandard2.1?I have found that you can do the following:
TargetFrameworktonetstandard2.1. This requires no code changes.netcoreapp3.1And then everything will work. Your nuget package will then be a
netstandard2.1package to then be consumed in libraries.The only reason for
netstandard2.1instead of the more genericnetstandard2.0is due to line 93 inConvertWithLibreOffice.cswith ProcessStartInfo'sArgumentList. I'm sure there is away around this, but this was just a quick attempt to check compatibility.