Things I have learned in C# (June 23, 2010)

Yesterday, I faced lots of problem in C#. Some were new, but some have already solved before but I don’t remember.

I think I should write them down, in case I miss it again.

1. Execute a Command in C#

CodeProject described two ways to run a command, synchronously and asynchronously

2. Build a .NET Solution or Project from the Command Line

This solution comes from C# Corner. devenv can run in command line mode. And the command for build a solution for release is

devenv /build [Debug|Release] solution_file