adoconnection / RazorEngineCore

.NET6 Razor Template Engine
MIT License
585 stars 88 forks source link

Please add StrongName support #59

Closed garryxiao closed 3 years ago

garryxiao commented 3 years ago

Warning CS8002 Referenced assembly 'RazorEngineCore, Version=2021.3.1.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

Not a big deal but annoying without it. Thanks.

adoconnection commented 3 years ago

Hi, do you by any chance have a recepie to quickly add strong name? Last time I did asssembly signing was several year ago :)

garryxiao commented 3 years ago

Create a snk file by opening a Visual Studio command prompt as Administrator sn -k .snk

Then in VS, properties/signing, choose the file and save. That's all.

adoconnection commented 3 years ago

https://www.nuget.org/packages/RazorEngineCore/2021.7.1

garryxiao commented 3 years ago

Thanks.