3

In the past, I would register the SSL cert of my application by running:

netsh http add sslcert ipport=1.2.3.4:443 certhash=a4e9de3a1610ec4eae82fa81444061b8 appid={8792bd09737f8b48991bfce5c15f3700}

Where the "appid" GUID came from the "assembly: Guid" attribute in AssemblyInfo.cs. But with the new .Net Core applications, there is no AssemblyInfo.cs, so where do I get this appid from?

Patrick
  • 356
  • 1
  • 10

2 Answers2

4

You can place [assembly:] in any file you want. It could be for example Main.cs or any file you want (you can of course create file "AssemblyInfo.cs" to keep the convention from framework).

Posio
  • 962
  • 4
  • 15
1

Answering my own question...

I'm not sure if this is a wise thing to do, but I ended up creating my own AssemblyInfo.cs and populating it with a brand new assembly GUID.

It seems to work.

Patrick
  • 356
  • 1
  • 10