Here are a few of the things I used in presenting at Code Camp. Maybe someone else can benefit.
When using VS 2003 you can make the font bigger in 2 places:
Text Editor:
Tools -> Options -> Environment -> Fonts and Colors -> Size drop down
Tool Windows (some of them):
Use this to launch vs.net: "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe" /fs 14
When using reflector you can make the font bigger
Use this to launch reflector: <your path to reflector>/Reflector.exe /fontsize:14
When using ILDasm you can make the font bigger
View -> Set Fonts -> Tree view
View -> Set Fonts -> Disassembly
NOTE: your font settings will only “stick” for the next time if you are admin (or have rights to write to the registry) of your machine, otherwise you have to reset each time.
When using .Net command line tools:
You can create “short cuts” to command line tools by doing the following:
1. Create a batch file that will set the path for you and change the directory to where you want it to be (see below for an example)
2. Create a short cut to the batch file and put this in front of the target path: %comspec% /k
Short cut target example: %comspec% /k ""C:\_presentations\CSharpUserGroup-Oct4\DisassemblingForFun\bin\ILDasmConsole.bat""
Batch file example (mostly copied and pasted from what comes with vs.net:
@SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
@SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio .NET 2003
@SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
@SET FrameworkVersion=v1.1.4322
@SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1
@rem Root of Visual Studio common files.
@if "%VSINSTALLDIR%"=="" goto Usage
@if "%VCINSTALLDIR%"=="" set VCINSTALLDIR=%VSINSTALLDIR%
@rem
@rem Root of Visual Studio ide installed files.
@rem
@set DevEnvDir=%VSINSTALLDIR%
@rem
@rem Root of Visual C++ installed files.
@rem
@set MSVCDir=%VCINSTALLDIR%\VC7
@rem
@echo Setting environment for using Microsoft Visual Studio .NET 2003 tools.
@echo (If you have another version of Visual Studio or Visual C++ installed and wish
@echo to use its tools from the command line, run vcvars32.bat for that version.)
@rem
@REM %VCINSTALLDIR%\Common7\Tools dir is added only for real setup.
@set PATH=%DevEnvDir%;%MSVCDir%\BIN;%VCINSTALLDIR%\Common7\Tools;%VCINSTALLDIR%\Common7\Tools\bin\prerelease;%VCINSTALLDIR%\Common7\Tools\bin;%FrameworkSDKDir%\bin;%FrameworkDir%\%FrameworkVersion%;%PATH%;
@set INCLUDE=%MSVCDir%\ATLMFC\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\PlatformSDK\include\prerelease;%MSVCDir%\PlatformSDK\include;%FrameworkSDKDir%\include;%INCLUDE%
@set LIB=%MSVCDir%\ATLMFC\LIB;%MSVCDir%\LIB;%MSVCDir%\PlatformSDK\lib\prerelease;%MSVCDir%\PlatformSDK\lib;%FrameworkSDKDir%\lib;%LIB%
@goto end
:Usage
@echo. VSINSTALLDIR variable is not set.
@echo.
@echo SYNTAX: %0
@goto end
:end
cd C:\_presentations\CodeCamp4\DisassemblingForFun
cls
ildasm /?