简体   繁体   中英

Visual studio 2015 extension to install .pfx key pair sn.exe

i was using vscommands extension for vs 2013 to import .pfx key into project by simply right clicking on error and applying fix.

in vs 2015 i didnt find any extension to do that an i have to manully enter command

is there any extension which can help to enter the password command easier ?

is there any extension which can help to enter the password command easier?

I would suggest that you can create a simple Menu Command to achieve it. here is a sample for your reference.

Please modify the StartNotepad method like this:

 private void StartNotepad(object sender, EventArgs e)
 {
            ProcessStartInfo psi = new ProcessStartInfo();
            psi.FileName = @"yoursnPath\SN.exe";
            psi.Arguments = "-d keyname";
            System.Diagnostics.Process.Start(psi);
            psi.Arguments = " -i key.pfd keyname";
            System.Diagnostics.Process.Start(psi);
 }

https://msdn.microsoft.com/en-us/library/cc138589.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM