Are there any easy to use Unit Testing frameworks available for .NET applications?
There are several. Here are a couple of systems that we like. They use .NET debugging support seamlessly and are thus very painless to use. You have no excuse not to write Unit Tests anymore! NUnit
How can I simulate keyboard input in my application
This can be done through the SendKeys class in the System.Windows.Forms namespace. Check it out in the MS help documentation.
Where can I find information on globalization
Here are some MSDN globalization samples: Visual Basic .NET Code Sample: Working with Resource Files .NET Samples – How To: Globalization and NLS Also look at the following topic in online help inside IDE. Developing World-Ready Applications
How do I conditionally include certain methods based on some preprocessor defines?
You have the regular #if and #else preprocessor directive inside which you could place your code. Take a look at the ‘C# Preprocessor Directives’ section for the complete list of preprocessor directives. There is also a concept of ‘Conditonal Methods’ that will let you declare some methods as conditional methods based on the presence of certain preprocessor directives, using the ConditionalAttribute. Then the compiler will not only ignore the method, but also the method-call if the preprocessor symbol is not defined. Take a look at this MSDN section for more information: Conditional Methods Tutorial
How do I embed a manifest file into my exe
A Win32 resource must be added to your .exe. The type of the resource must be ‘RT_MANIFEST’ and the resource id must be ‘1’. An easy way to do this is with Visual Studio.NET: Open your exe in VS (file -> open file) Right click on it and select add resource Click ‘Import…’ from the dialog Select your manifest file In the ‘Resource Type’ field, enter ‘RT_MANIFEST’ In the property grid, change the resource ID from ‘101’ to ‘1’. Save the exe. From Mike Harsh at gotnetdot.com.