aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Bal/wixext/BalErrors.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2023-01-18 19:03:44 -0600
committerSean Hall <r.sean.hall@gmail.com>2023-01-18 20:07:03 -0600
commit7a0aa56131ba7fa3b63788908c164d0f8118e3fc (patch)
treede06072b4bcf95c77afbae6efbf31df83f2848e0 /src/ext/Bal/wixext/BalErrors.cs
parentd180bc6df297422f189ffd08a0dd558bfbeba1ca (diff)
downloadwix-7a0aa56131ba7fa3b63788908c164d0f8118e3fc.tar.gz
wix-7a0aa56131ba7fa3b63788908c164d0f8118e3fc.tar.bz2
wix-7a0aa56131ba7fa3b63788908c164d0f8118e3fc.zip
Improve error messages from BalBurnBackendExtension.
Diffstat (limited to 'src/ext/Bal/wixext/BalErrors.cs')
-rw-r--r--src/ext/Bal/wixext/BalErrors.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ext/Bal/wixext/BalErrors.cs b/src/ext/Bal/wixext/BalErrors.cs
index 2548b279..7fbccecb 100644
--- a/src/ext/Bal/wixext/BalErrors.cs
+++ b/src/ext/Bal/wixext/BalErrors.cs
@@ -45,22 +45,22 @@ namespace WixToolset.Bal
45 45
46 public static Message MissingDNCBAFactoryAssembly(SourceLineNumber sourceLineNumbers) 46 public static Message MissingDNCBAFactoryAssembly(SourceLineNumber sourceLineNumbers)
47 { 47 {
48 return Message(sourceLineNumbers, Ids.MissingDNCBAFactoryAssembly, "The BA's entry point DLL must have bal:BAFactoryAssembly=\"yes\" when using the DotNetCoreBootstrapperApplicationHost."); 48 return Message(sourceLineNumbers, Ids.MissingDNCBAFactoryAssembly, "When using DotNetCoreBootstrapperApplicationHost, the Payload element for the BA's entry point DLL must have bal:BAFactoryAssembly=\"yes\".");
49 } 49 }
50 50
51 public static Message MissingDNCPrereq() 51 public static Message MissingDNCPrereq(SourceLineNumber sourceLineNumbers)
52 { 52 {
53 return Message(null, Ids.MissingDNCPrereq, "There must be at least one package with bal:PrereqPackage=\"yes\" when using the DotNetCoreBootstrapperApplicationHost with SelfContainedDeployment set to \"no\"."); 53 return Message(sourceLineNumbers, Ids.MissingDNCPrereq, "There must be at least one package with bal:PrereqPackage=\"yes\" when using the DotNetCoreBootstrapperApplicationHost with SelfContainedDeployment set to \"no\".");
54 } 54 }
55 55
56 public static Message MissingIUIPrimaryPackage() 56 public static Message MissingIUIPrimaryPackage(SourceLineNumber sourceLineNumbers)
57 { 57 {
58 return Message(null, Ids.MissingIUIPrimaryPackage, "When using WixInternalUIBootstrapperApplication, there must be one package with bal:PrimaryPackageType=\"default\"."); 58 return Message(sourceLineNumbers, Ids.MissingIUIPrimaryPackage, "When using WixInternalUIBootstrapperApplication, there must be one package with bal:PrimaryPackageType=\"default\".");
59 } 59 }
60 60
61 public static Message MissingMBAPrereq() 61 public static Message MissingMBAPrereq(SourceLineNumber sourceLineNumbers)
62 { 62 {
63 return Message(null, Ids.MissingMBAPrereq, "There must be at least one package with bal:PrereqPackage=\"yes\" when using the ManagedBootstrapperApplicationHost.\nThis is typically done by using the WixNetFxExtension and referencing one of the NetFxAsPrereq package groups."); 63 return Message(sourceLineNumbers, Ids.MissingMBAPrereq, "There must be at least one package with bal:PrereqPackage=\"yes\" when using the ManagedBootstrapperApplicationHost.\nThis is typically done by using the WixNetFxExtension and referencing one of the NetFxAsPrereq package groups.");
64 } 64 }
65 65
66 public static Message MultipleBAFunctions(SourceLineNumber sourceLineNumbers) 66 public static Message MultipleBAFunctions(SourceLineNumber sourceLineNumbers)