Utility tools

何星鹏
2023-12-01

1.1
Svcutil

Generate Proxy class.

Step:

1)
You can find svcutil.exe @
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools

2)
run svcutil.exe <assembly
name>   (e.g. SvcUtil.exe D:\My\WcfServiceLibrary1.dll
/directory:D:\My). It will generate the
meta files, wsdl and xsd files.

3)
Run svcutil.exe /t:code D:\My\*.wsdl
D:\My\*.xsd /o:D:\My\WebServiceProxy.cs

1.2
Certutil

Certificate manage tool.

Path: C:\Windows\System32

1.3
xsd

Generate class from xml schema file(*.xsd)

Path: C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.0A\Bin\x64

E.g. xsd D:\XmlSchemal\Person.xsd /classes
/out:D:\XmlSchemal /namespace:Sunny.Lib

1.4
csc

Build c# source files to generate
exe/winexe/dll file.

Path:

1.5
ILDasm

See IL code from PE file.

Path: C:\Program Files\Microsoft
SDKs\Windows\v7.0A\bin

E.g.ILDasm Program.exe

1.6
SN

Generate public/private pair key, sign assembly.

Path: C:\Program Files\Microsoft
SDKs\Windows\v7.0A\bin

E.g. sn –k MyCompany.snk/sn –p
MyCompany.snk MyCompany.PublicKey

1.7
CKRVer

List all version of CLR.

Path: %programfiles%\Microsoft
SDKs\Windows\v7.0A\Bin

Clrver –all

1.8
NGen

Generate native code form IL code.

Path:
C:\Windows\Microsoft.NET\Framework\v2.0.50727

1.9
Psexec

C:\Windows\system32\cmd.exe /k
D:\cp-hotfix\public\ext\pstools\psexec.exe \\ws1box -u administrator -p
#Bugsfor$ “D:\Program Files (x86)\Microsoft SPS\Periodic
Processing\BillingToolRunit.exe” CTScheduler

D:\Windows\system32\cmd.exe /k
“D:\Program Files (x86)\Microsoft SPS\Periodic
Processing\BillingToolRunit.exe” CTScheduler

D:\Windows\system32\cmd.exe /k runas
/user:VM1BOXDOM\SPSPaymentAccount “D:\Program Files (x86)\Microsoft
SPS\Periodic Processing\BillingToolRunit.exe CTScheduler”

C:\Windows\system32\cmd.exe /k
D:\cp-hotfix\public\ext\pstools\psexec.exe \\ws1box -u administrator -p
#Bugsfor$ “D:\Program Files (x86)\Microsoft SPS\Periodic Processing\BillingToolRunit.exe”
CTScheduler

转载于:https://www.cnblogs.com/sunny712/p/3281586.html

 类似资料:

相关阅读

相关文章

相关问答