Skip to content

Commit

Permalink
Xpand.VSIX Wizard Xpand.Dll path is wrong #316
Browse files Browse the repository at this point in the history
  • Loading branch information
apobekiaris committed Jan 31, 2019
1 parent d6d7da6 commit 7a64d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Xpand.Plugins/Xpand.VSIX/Wizard/ModuleManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ModuleManager{
var xpandPath = GetXpandDLLPath();
if (!Directory.Exists(xpandPath))
MessageBox.Show(
@"Xpand not found that check HKLM\Sofware\Wow6432Node\Microsoft\.NetFramework\AssemblyFolders\Xpand points to the Xpand.DLL directory",typeof(ModuleManager).Namespace);
@"Xpand not found that check HKLM\Sofware\Wow6432Node\Microsoft\.NetFramework\AssemblyFoldersEx\Xpand points to the Xpand.DLL directory",typeof(ModuleManager).Namespace);
else {
var fileNames = Directory.GetFiles(xpandPath, "Xpand.ExpressApp.*.dll");
foreach (var fileName in fileNames) {
Expand All @@ -33,7 +33,7 @@ public class ModuleManager{
public static string GetXpandDLLPath() {
try {
var softwareNode = Registry.LocalMachine.OpenSubKey(@"Software\Wow6432Node") ?? Registry.LocalMachine.OpenSubKey("Software");
return Path.GetFullPath(softwareNode?.OpenSubKey(@"Microsoft\.NetFramework\AssemblyFolders\Xpand")?.GetValue(null) + "");
return Path.GetFullPath(softwareNode?.OpenSubKey(@"Microsoft\.NetFramework\AssemblyFoldersEx\Xpand")?.GetValue(null) + "");
}
catch {
return null;
Expand Down

0 comments on commit 7a64d20

Please sign in to comment.