Loading ...

Add strong name to reffered assembly | CodeAsp.Net

Add strong name to reffered assembly

 /5
0 (0votes)

While working with one of my project I was getting message "Could not load file or assembly 'tika-app, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required." I was sure I was having strongly named dll TikaOnDotNet and tika-app dlls which I was using so where was the issue? The issue was that TikaOnDotNet dll was reffering  tika-app dlls inside it and that reffered dll was not strong named. I did one trick to fix this issue, I generated the MSIL for TikaOnDotNet.dll and add the Public key token for  tika-app dll mannualy and then I regenerated the TikaOnDotNet.dll

 

Comments (no comments yet)

Top Posts