You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
796 B
26 lines
796 B
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) |
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt) |
|
|
|
using System; |
|
using System.IO; |
|
using ICSharpCode.Core; |
|
|
|
namespace ICSharpCode.MSTest |
|
{ |
|
public static class MSTestOptions |
|
{ |
|
static Properties properties = PropertyService.Get("MSTestOptions", new Properties()); |
|
|
|
public static string MSTestPath { |
|
get { return properties.Get<string>("MSTestPath", GetDefaultMSTestPath()); } |
|
set { properties.Set("MSTestPath", value); } |
|
} |
|
|
|
static string GetDefaultMSTestPath() |
|
{ |
|
return Path.Combine( |
|
Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), |
|
@"Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe"); |
|
} |
|
} |
|
}
|
|
|