aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Bal/wixext/BalErrors.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2023-01-15 20:59:56 -0600
committerSean Hall <r.sean.hall@gmail.com>2023-01-15 22:03:31 -0600
commitecbaffc08239e061a7dbaa92ff3c72acd53a0bae (patch)
treef6bf6660fc35b82085388ed489f4160c71ae68e1 /src/ext/Bal/wixext/BalErrors.cs
parent32024b526d129534b017d4e932f08e6a6f015102 (diff)
downloadwix-ecbaffc08239e061a7dbaa92ff3c72acd53a0bae.tar.gz
wix-ecbaffc08239e061a7dbaa92ff3c72acd53a0bae.tar.bz2
wix-ecbaffc08239e061a7dbaa92ff3c72acd53a0bae.zip
Write an error when the .NET Core BA is missing the BAFactoryAssembly.
7166
Diffstat (limited to 'src/ext/Bal/wixext/BalErrors.cs')
-rw-r--r--src/ext/Bal/wixext/BalErrors.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ext/Bal/wixext/BalErrors.cs b/src/ext/Bal/wixext/BalErrors.cs
index cde37143..2548b279 100644
--- a/src/ext/Bal/wixext/BalErrors.cs
+++ b/src/ext/Bal/wixext/BalErrors.cs
@@ -43,6 +43,11 @@ namespace WixToolset.Bal
43 return Message(sourceLineNumbers, Ids.IuibaPrimaryPackageEnableFeatureSelection, "When using WixInternalUIBootstrapperApplication, primary packages must not have feature selection enabled because it interferes with the user selecting feature through the MSI UI."); 43 return Message(sourceLineNumbers, Ids.IuibaPrimaryPackageEnableFeatureSelection, "When using WixInternalUIBootstrapperApplication, primary packages must not have feature selection enabled because it interferes with the user selecting feature through the MSI UI.");
44 } 44 }
45 45
46 public static Message MissingDNCBAFactoryAssembly(SourceLineNumber sourceLineNumbers)
47 {
48 return Message(sourceLineNumbers, Ids.MissingDNCBAFactoryAssembly, "The BA's entry point DLL must have bal:BAFactoryAssembly=\"yes\" when using the DotNetCoreBootstrapperApplicationHost.");
49 }
50
46 public static Message MissingDNCPrereq() 51 public static Message MissingDNCPrereq()
47 { 52 {
48 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(null, Ids.MissingDNCPrereq, "There must be at least one package with bal:PrereqPackage=\"yes\" when using the DotNetCoreBootstrapperApplicationHost with SelfContainedDeployment set to \"no\".");
@@ -116,6 +121,7 @@ namespace WixToolset.Bal
116 IuibaPrimaryPackageEnableFeatureSelection = 6815, 121 IuibaPrimaryPackageEnableFeatureSelection = 6815,
117 OverridableVariableCollision = 6816, 122 OverridableVariableCollision = 6816,
118 OverridableVariableCollision2 = 6817, 123 OverridableVariableCollision2 = 6817,
124 MissingDNCBAFactoryAssembly = 6818,
119 } 125 }
120 } 126 }
121} 127}