I am using VS 2019, for having search implementation, i am using Lucene.Net of version 4.8.0-beta00016. On dev environment it's working fine with out any warning or issue.
My application is of web api on .net core version 3.1.
When i am deploying the changes to IIS server, i am seeing the below error:
System.IO.FileNotFoundException: Could not load file or assembly 'Lucene.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=85089178b9ac3181'. The system cannot find the file specified. File name: 'Lucene.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=85089178b9ac3181'
I am not able to understand Version=4.0.0.0, i am not having any where in my code this kind of reference.
Could some one through some light on this?
I tried deploying all possible dll to the IIS server, still it's having the same issue. It's become a development blocker for me. I am not sure whether it works with .net core or not.