diff options
author | Rob Mensching <rob@firegiant.com> | 2024-12-27 13:57:09 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2024-12-27 14:44:54 -0800 |
commit | a076b9d72486328d8dc95675daae417a3c07d6d6 (patch) | |
tree | d7e8c1c7748891db080dce377553108975de3afc /src/internal/WixInternal.TestSupport/TestData.cs | |
parent | 28a2c0e963897ddc61e6673bcb93e10b9696375f (diff) | |
download | wix-a076b9d72486328d8dc95675daae417a3c07d6d6.tar.gz wix-a076b9d72486328d8dc95675daae417a3c07d6d6.tar.bz2 wix-a076b9d72486328d8dc95675daae417a3c07d6d6.zip |
Audit all transitive dependencies and fix latest vulnerabilities
Also, standardize .NET Core TFMs listed before .NET Framework TFMs for no
reason but to be consistent
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)) |