Using Framework Tools

The .NET Framework includes language compilers and the runtime environment allowing QuickSharp to be fully functional 'out of the box'. However, additional features can be enabled by installing other, freely available components.

Framework SDK

Installing a version of the .NET Framework SDK allows QuickSharp to provide additional development support: integrated access to the IL disassembler, the CLR debugger and the .NET Framework documentation with build tools for the resource file generator, XML Schema support utility, Web Services Description Language support utility and SqlMetal Database Markup Language mapping tool.

By default these features are configured to work with the tools provided by version 2.0 of the SDK, except for the SqlMetal mapping tool which is not available in SDKs before version 3.5. Later SDKs will work just as well but require the tool paths to be updated to the appropriate locations; use the SDK Tools and Build Tools pages in the QuickSharp options editor. The CLR debugger is not available in SDK versions after .NET 2.0.

IL disassembler

The IL disassembler can be used to inspect assemblies by opening them from the File menu or by double-clicking in the Workspace. ILdasm is also available directly via the Tools menu. With no active editor (or pinned file) the tool will be opened with no file loaded; if an editor is active or a file has been pinned the corresponding output file will be loaded automatically. If the Tool menu option is disabled you will need to update the 'ildasm.exe' tool path in the SDK Tools options page.

CLR debugger

The CLR debugger can be launched from the Tools menu or by pressing Ctrl+F11. If a file is active in the editor or has been pinned the debugger will launch with the appropriate output file loaded ready for debugging.

The quickest way to start debugging is to load an application's main source file in the editor and press Ctrl+F11 to launch the debugger followed by F11 to step into the code. The application should be compiled in debug mode and the program database file (.pdb) be available.

Online help

Context-sensitive help can be called from within QuickSharp by pressing F1 or using the Help menu; this will cause the Microsoft help viewer to be opened. If the editing cursor is positioned on a word the help viewer will perform a keyword lookup and attempt to show help information related to that word.

For example, to get help for 'System.Console' type Console and position the cursor at the end or within this word. press F1 and after a short delay help should appear. If there is no word present at the cursor position, or there is no editor window open, the default help home page will be displayed. Press Ctrl+F1 to open the help directly at the home page.

If the help menu options are visible but disabled you will need to update the help viewer path and arguments to match your system.

Using Mono compilers

The Mono project provides a Windows version of the Mono platform and development tools which you can download from the project website.

The Mono C# compilers are compatible with the QuickSharp C# plugin and can be added as extra build tool configurations; QuickSharp will create these automatically if a Mono installation is detected. In such cases extra compiler configurations and an additional run tool will be added to the build tool menus.

Mono tools screenshot