I looked into C:\Program Files\Microsoft.NET and I can't see any SN.exe file.
I have .NET 3.5 runtime installed; isn't that enough ?
I looked into C:\Program Files\Microsoft.NET and I can't see any SN.exe file.
I have .NET 3.5 runtime installed; isn't that enough ?
For VS2017 path was changed to:
C:\Program Files (x86)\Microsoft SDKs\Windows\vX\bin\NETFX X.X.X Tools\.
Simply:
In windows (according .net framework version \B8.1A.. changes in the path), go to =>
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools
Write your sn.exe command:
sn -i D:\XX\MYProject.UI.api\MYProject.Gateway\my_certificate.pfx VS_KEY_AD6FD8AFB39B6C43
if it is password protected than it will want the pwd write it down
For VS2019 the path is C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\x64\sn.exe
still now i m unable to use VS command prompt. it showing me message like
** Visual Studio 2017 Developer Command Prompt v15.8.9 ** Copyright (c) 2017 Microsoft Corporation
[vcvarsall.bat] Environment initialized for: 'x64'
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>where sn.exe INFO: Could not find files for the given pattern(s).