ALT + F5 - create archive
ALT + f6 - unzip
at element [..] Shift + F6 - edit path to current folder
ALT + f6 - unzip
at element [..] Shift + F6 - edit path to current folder
public static void RevokeCert(string connection,string serial)
{
//connection= "192.168.71.128\\My-CA"
//serial = "614870cd000000000014"
const int CRL_REASON_UNSPECIFIED = 0;
CERTADMINLib.CCertAdmin _admin = null;
try
{
_admin = new CCertAdmin();
_admin.RevokeCertificate(connection, serial, CRL_REASON_UNSPECIFIED, DateTime.Now);
}
finally
{
if (_admin != null)
Marshal.FinalReleaseComObject(_admin);
}
}
nunit-console /xml:console-test.xml nunit.tests.dll
MSTest
For MSTEST there is same tool named mstest
Example
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\mstest" /testcontainer:"D:\TeamCity\buildAgent\work\8a4449e52545215c\web\MvcApplication2\MvcApplication2.Tests\bin\Release\MvcApplication2.Tests.dll" /test:AboutTest
You can choose wich of tests to run by using param /test
msbuild /property:Configuration=Release MyFile.vbproj
%windir%\SysWoW64\regsvr32.exe %windir%\SysWoW64\namedll.dll
%windir%\System32\regsvr32.exe %windir%\System32\namedll.dll
var res = (YourClass)Newtonsoft.Json.JsonConvert.DeserializeObject(s, typeof(YourClass));
string jsonString = Newtonsoft.Json.JsonConvert.SerializeObject(o);