diff options
Diffstat (limited to 'src/internal/WixInternal.TestSupport/TestData.cs')
-rw-r--r-- | src/internal/WixInternal.TestSupport/TestData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/WixInternal.TestSupport/TestData.cs b/src/internal/WixInternal.TestSupport/TestData.cs index 05691e8c..1b169699 100644 --- a/src/internal/WixInternal.TestSupport/TestData.cs +++ b/src/internal/WixInternal.TestSupport/TestData.cs | |||
@@ -44,13 +44,13 @@ namespace WixInternal.TestSupport | |||
44 | 44 | ||
45 | public static string Get(params string[] paths) | 45 | public static string Get(params string[] paths) |
46 | { | 46 | { |
47 | var localPath = Path.GetDirectoryName(new Uri(Assembly.GetCallingAssembly().CodeBase).LocalPath); | 47 | var localPath = AppDomain.CurrentDomain.BaseDirectory; |
48 | return Path.Combine(localPath, Path.Combine(paths)); | 48 | return Path.Combine(localPath, Path.Combine(paths)); |
49 | } | 49 | } |
50 | 50 | ||
51 | public static string GetUnitTestLogsFolder([CallerFilePath] string path = "", [CallerMemberName] string method = "") | 51 | public static string GetUnitTestLogsFolder([CallerFilePath] string path = "", [CallerMemberName] string method = "") |
52 | { | 52 | { |
53 | var startingPath = Path.GetDirectoryName(new Uri(Assembly.GetCallingAssembly().CodeBase).LocalPath); | 53 | var startingPath = AppDomain.CurrentDomain.BaseDirectory; |
54 | var buildPath = startingPath; | 54 | var buildPath = startingPath; |
55 | 55 | ||
56 | while (!String.IsNullOrEmpty(buildPath)) | 56 | while (!String.IsNullOrEmpty(buildPath)) |