diff -c -N -r ./Builder.cs ../../../ice/vsaddin/src/Builder.cs *** ./Builder.cs 2011-06-15 21:44:00.000000000 +0200 --- ../../../ice/vsaddin/src/Builder.cs 2011-06-21 00:42:43.460000001 +0200 *************** *** 1581,1589 **** } public static string getSliceCompilerVersion(Project project, string sliceCompiler) ! { System.Diagnostics.Process process = new System.Diagnostics.Process(); ! process.StartInfo.FileName = Path.Combine(Util.getIceHome(), "bin\\" + sliceCompiler); process.StartInfo.Arguments = "-v"; process.StartInfo.CreateNoWindow = true; process.StartInfo.UseShellExecute = false; --- 1581,1596 ---- } public static string getSliceCompilerVersion(Project project, string sliceCompiler) ! { ! string iceHome = Util.getIceHome(); ! if(Util.isSilverlightProject(project)) ! { ! iceHome = Util.getIceSlHome(); ! } ! sliceCompiler = Path.Combine(iceHome, Path.Combine("bin", sliceCompiler)); ! System.Diagnostics.Process process = new System.Diagnostics.Process(); ! process.StartInfo.FileName = sliceCompiler; process.StartInfo.Arguments = "-v"; process.StartInfo.CreateNoWindow = true; process.StartInfo.UseShellExecute = false; *************** *** 2509,2515 **** bool standardError = true; if(Util.isSilverlightProject(project)) { ! string version = getSliceCompilerVersion(project, sliceCompiler); List tokens = new List(version.Split(new char[]{'.'}, StringSplitOptions.RemoveEmptyEntries)); --- 2516,2522 ---- bool standardError = true; if(Util.isSilverlightProject(project)) { ! string version = getSliceCompilerVersion(project, Util.slice2sl); List tokens = new List(version.Split(new char[]{'.'}, StringSplitOptions.RemoveEmptyEntries)); diff -c -N -r ./Util.cs ../../../ice/vsaddin/src/Util.cs *** ./Util.cs 2011-06-15 21:44:00.000000000 +0200 --- ../../../ice/vsaddin/src/Util.cs 2011-06-21 00:43:46.790000001 +0200 *************** *** 2354,2361 **** { string iceHome = getIceHome(); string binDir = getCsBinDir(project); ComponentList components = Util.getIceDotNetComponents(project); ! String version = Builder.getSliceCompilerVersion(project, Util.slice2cs); string[] tokens = version.Split('.'); // --- 2354,2370 ---- { string iceHome = getIceHome(); string binDir = getCsBinDir(project); + string sliceCompiler = Util.slice2cs; ComponentList components = Util.getIceDotNetComponents(project); ! ! if(isSilverlightProject(project)) ! { ! iceHome = getIceSlHome(); ! sliceCompiler = Util.slice2sl; ! components = Util.getIceSilverlightComponents(project); ! } ! ! String version = Builder.getSliceCompilerVersion(project, sliceCompiler); string[] tokens = version.Split('.'); //