build.bat

来自「Microsoft.NET.框架程序设计修订版中的书中源码」· Batch 代码 · 共 23 行

BAT
23
字号
@echo off
REM There are two ways to build this multi-file assembly
REM The line below picks one of those ways
Goto Way1


:Way1
csc /t:module RUT.cs
csc /out:JeffTypes.dll /t:library /addmodule:RUT.netmodule FUT.cs AssemInfo.cs
goto Exit


:Way2
csc /t:module RUT.cs
csc /t:module FUT.cs AssemInfo.cs
al  /out:JeffTypes.dll /t:lib FUT.netmodule RUT.netmodule
goto Exit


:Exit
copy *.dll ..\RunnableApp
copy *.netmodule ..\RunnableApp

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?