Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit ed42398

Browse files
committed
Use ToolNotFoundProjectLoadException in WixProject.CheckWixIsInstalled()
1 parent 354b7a4 commit ed42398

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • src/AddIns/BackendBindings/WixBinding/Project/Src/Project

src/AddIns/BackendBindings/WixBinding/Project/Src/Project/WixProject.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ void CheckWixIsInstalled()
6666
ReevaluateIfNecessary();
6767
} catch (InvalidProjectFileException ex) {
6868
LoggingService.Error(ex);
69-
throw new InvalidProjectFileException(StringParser.Parse("${res:ICSharpCode.WixBinding.WixNotInstalled}"));
69+
string message = StringParser.Parse("${res:ICSharpCode.WixBinding.WixNotInstalled}");
70+
throw new ToolNotFoundProjectLoadException(message) {
71+
Description = message,
72+
LinkTarget = "http://wixtoolset.org/"
73+
};
7074
}
7175
}
7276

0 commit comments

Comments
 (0)