c 中csc命令的用法(the usage of csc command in c )

c 中csc命令的用法(the usage of csc command in c )

ID:14982579

大小:25.37 KB

页数:19页

时间:2018-07-31

c 中csc命令的用法(the usage of csc command in c )_第1页
c 中csc命令的用法(the usage of csc command in c )_第2页
c 中csc命令的用法(the usage of csc command in c )_第3页
c 中csc命令的用法(the usage of csc command in c )_第4页
c 中csc命令的用法(the usage of csc command in c )_第5页
c 中csc命令的用法(the usage of csc command in c )_第6页
c 中csc命令的用法(the usage of csc command in c )_第7页
c 中csc命令的用法(the usage of csc command in c )_第8页
c 中csc命令的用法(the usage of csc command in c )_第9页
c 中csc命令的用法(the usage of csc command in c )_第10页
资源描述:

《c 中csc命令的用法(the usage of csc command in c )》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、c#中csc命令的用法(TheusageofCSCcommandinc#)TheusageofCSCcommandinc#CSC.exeC#tocompileVisualcodeintoILfile,therearemanyparametersandswitches.ThecorrectunderstandinganduseoftheseparametersandsometimesswitchingsolutionsMakesomeseeminglytoughquestions.Herethroughatabletoroughlyexplainthespecificeffectsoft

2、heseparametersandswitches.TheseparametersandswitchoptionsareinaccordancewithArrangedinalphabeticalorder.The"*",somecommonlyusedparametersorswitches.///////////////////////////////////////////////////////////////////////////////CommandlineexampleCompilingFile.cstogenerateFile.exe:CSCFile.csCompil

3、ingFile.cstogenerateFile.dll:CSC/target:libraryFile.csCompileFile.csandcreateMy.exe:CSC/out:My.exeFile.csThroughtheuseofoptimizationandtheDEBUGsymbolisdefinedinthecurrentdirectory,compileallC#files.TheoutputisFile2.exe:CSC/define:DEBUG/optimize/out:File2.exe*.csCompileallC#filesinthecurrentdirec

4、tory,thedebugversionofFile2.dll.Nologosandwarningsaredisplayed:CSC/target:library/out:File2.dll/warn:0/nologo/debug*.csAlloftheC#filesinthecurrentdirectorycompiledforSomething.xyz(aDLL):CSC/target:library/out:Something.xyz*.cs//////////////////////////////////////////////////////////////////////

5、/////////Tabscriptisusedwhendoingapage,rememberIEWebControlseemstohave,goonlinetofindit.ItturnsoutthatMicrosoftdoesn'tsupportthisanymoreControl,alsodoesnotprovidedownload...Noway,havetofindGooglehelp.Soonfoundit.Afterinstallation,runbuild.bat.resultsonlyTheruntimefilecopy,nottogenerateDLLfiles..

6、.Lookatwhatbuild.batwrote:@if"%_echo%"echooff"=="IfnotexistbuildMKDIRbuildCsc.exe/out:buildMicrosoft.Web.UI.WebControls.dll@IEWebControls.rspXcopysrcRuntimebuildRuntime/E/Y/I/QNotethered,itisCSC.exenottowritetheabsolutepath.ButmyPATHissimplynotregistered.ChangeC:WINDOWSMicrosoft.NETFramewo

7、rkv1.1.4322/csc.exe/out:buildMicrosoft.Web.UI.WebControls.dll@IEWebControls.rspYoucan,butthereisawarning:srctreeview.cs(1193,13):warningCS0618:'System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.XPathNavigator,System.

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。