Skip to content

Commit

Permalink
documentation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Modest-as committed Nov 25, 2020
1 parent 734347b commit 728e6c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ Supported platforms:

## .NET Framework Support

Newer versions of .NET Framework are also supported, `Docnet.Core.targets` tries to automatically find which version of the native `PDFium` binary to copy but that can sometime be unreliable especially if running on AnyCPU. You can manually specify `DocnetRuntime` property in your project file to influence which library version to copy. Allowed values are `win-x64`, `win-x86`, `linux` and `osx`:
Newer versions of .NET Framework are also supported, `Docnet.Core.targets` tries to automatically find which version of the native `PDFium` binary to copy but that can sometime be unreliable especially if running on AnyCPU. You can manually specify `DocnetRuntime` property in your project file to influence which library version to copy. Allowed values are `win-x64`, `win-x86`, `linux` and `osx`.

Example below makes sure that we always copy x64 binary on windows:

```
<PropertyGroup>
<DocnetRuntime Condition="'$([MSBuild]::IsOsPlatform(Windows))' ">win-x64</DocnetRuntime>
<DocnetRuntime Condition=" '$([MSBuild]::IsOsPlatform(Windows))' ">win-x64</DocnetRuntime>
</PropertyGroup>
```

0 comments on commit 728e6c9

Please sign in to comment.