Fix batch file and tests code for NET_2_0 run. UTF-8 encoding for project file