Hooking Into csc.exe
The last configuration detail to contend with is to load csc.exe from within TextPad so you can
compile your C# files. The first way to do so is using the Tools ➤ Run menu option. Here you are
presented with a dialog box that allows you to specify the name of the tool to run and any necessary
command-line flags. To compile TextPadTest.cs into a .NET console-based executable, follow these
steps:
1.
Enter the full path to csc.exe into the Command text box (e.g., C:\Windows\Microsoft.NET\
Framework\v3.5\csc.exe).
2.
Enter the command-line options you wish to specify within the Parameters text box (e.g.,
/out:myApp.exe *.cs). Recall that you can specify a custom response file to simplify matters
(e.g., @myInput.rsp).
Do'stlaringiz bilan baham: |