Utility tools

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

posted @ 2013-08-25 22:22  sunqixinxin  阅读(251)  评论(0编辑  收藏  举报