sergey-tihon / Stanford.NLP.NET

Stanford NLP for .NET
http://sergey-tihon.github.io/Stanford.NLP.NET/
MIT License
595 stars 123 forks source link

snk file not found #101

Closed hishaks closed 4 years ago

hishaks commented 4 years ago

I tried to build the project using the build script. But the resulting dll came out as unsigned as the snk file was not present in the location nuget\Stanford.NLP.snk.

sergey-tihon commented 4 years ago

yeap, this is by design.

You can generate your own key if need signed assemblies

sn -k Stanford.NLP.snk
hishaks commented 4 years ago

After generating the .snk file, the build fails with the error joda-time.dll not found. It seems it's looking for the file in the root folder. I tried tweaking the script a little bit by supplying the correct path at: ModuleDefinition .ReadModule(task.DllFile) .Write(task.DllFile, WriterParameters(StrongNameKeyPair=key)) But it resulted in a compiler error. I am not well versed with F#. Are you able to build by supplying the .snk file?

sergey-tihon commented 4 years ago

Yes, it should work on windows when you run .\build.cmd NuGet

image