Sicos1977 / IFilterTextReader

A reader that gets text from different file formats through the IFilter interface
Other
55 stars 38 forks source link

Retargeting projects to support netstandard 2.0. #28

Closed dominikhasiwar closed 6 years ago

dominikhasiwar commented 6 years ago

Did a retarget of the main project to support netstandard 2.0. The library therefore can be used in a netcore application. Had to retarget the viewer project to 4.7, so that it can use the netstandard version of the main library.

Since the library uses the windows registry, I had to add a reference to Microsoft.Win32.Registry to both projects.

Sicos1977 commented 6 years ago

Why target .NET standard 2.0? This project is never going to work on Linux or Mac OS because it uses iFilters and that is something that is only available on Windows.

dominikhasiwar commented 6 years ago

Well neither netstandard nor netcore are exclusively meant for cross platform development. I use the textextraction via IFilter in a index/search solution built around lucenenet. The IFilterTextExtractor is only one among several.

I know that IFilters are only availabe in windows. For non-windows systems we would have to use other libraries, but under windows we want to stick with IFilters because of the much better performance.