<commit_before>using System;
using System.Collections.Specialized;
using System.Diagnostics;
using System.IO;
using System.Text;

namespace MakeSharp.MsBuild
{
    public class MsBuild
    {
        private readonly string _projFile;
        private readonly NameValueCollection _properties;
        private readonly MsBuildVerbosity _verbosity;

        /// <summary>
        /// 12.0 (VS 2013) or 14.0 (VS 2015)
        /// </summary>
        public static string Version = "14.0";

        public static bool Is64Bit = true;

        static string Parse(MsBuildVerbosity verbosity)
        {
            return verbosity.ToString().ToLowerInvariant();
        }
        static string GetExePath()
        {
            var program_files = Is64Bit ? "Program Files (x86)" : "Program Files";
            return Path.Combine("C:", program_files, "MSBuild", Version, @"Bin\MSBuild.exe");
            //var version = Environment.Version;
            //var key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\MSBuild\ToolsVersions\" + version.Major + "." + version.Minor);
            //var path = key.GetValue("MSBuildToolsPath") as string;
            //key.Dispose();
            //return Path.Combine(path, "MSBuild.exe");
        }

        private static string path;
        private int _count=System.Environment.ProcessorCount/2;

        public static string ExePath
        {
            get<commit_msg>fixed bug in launching Msbuild<commit_after>using System;
using System.Collections.Specialized;
using System.Diagnostics;
using System.IO;
using System.Text;

namespace MakeSharp.MsBuild
{
    public class MsBuild
    {
        private readonly string _projFile;
        private readonly NameValueCollection _properties;
        private readonly MsBuildVerbosity _verbosity;

        /// <summary>
        /// 12.0 (VS 2013) or 14.0 (VS 2015)
        /// </summary>
        public static string Version = "14.0";

        public static bool Is64Bit = true;

        static string Parse(MsBuildVerbosity verbosity)
        {
            return verbosity.ToString().ToLowerInvariant();
        }
        static string GetExePath()
        {
            var program_files = Is64Bit ? "Program Files (x86)" : "Program Files";
            return "\""+Path.Combine("C:\\", program_files, "MSBuild", Version, @"Bin\MSBuild.exe")+"\"";            
        }

        private static string path;
        private int _count=System.Environment.ProcessorCount/2;

        public static string ExePath
        {
            get
{'fraction_non_alphanumeric': 0.10150078988941548, 'fraction_numerical': 0.018957345971563982, 'mean_word_length': 2.226751592356688, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5607494', 'n_tokens_mistral': 721, 'n_tokens_neox': 665, 'n_words': 182}