aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Bal/wixext/BalWarnings.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Bal/wixext/BalWarnings.cs')
-rw-r--r--src/ext/Bal/wixext/BalWarnings.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ext/Bal/wixext/BalWarnings.cs b/src/ext/Bal/wixext/BalWarnings.cs
index 96e7a523..73a19d07 100644
--- a/src/ext/Bal/wixext/BalWarnings.cs
+++ b/src/ext/Bal/wixext/BalWarnings.cs
@@ -33,6 +33,11 @@ namespace WixToolset.Bal
33 return Message(sourceLineNumbers, Ids.UnmarkedBAFunctionsDLL, "WixStandardBootstrapperApplication doesn't automatically load BAFunctions.dll. Use the bal:BAFunctions attribute to indicate that it should be loaded."); 33 return Message(sourceLineNumbers, Ids.UnmarkedBAFunctionsDLL, "WixStandardBootstrapperApplication doesn't automatically load BAFunctions.dll. Use the bal:BAFunctions attribute to indicate that it should be loaded.");
34 } 34 }
35 35
36 public static Message DeprecatedBAFactoryAssemblyAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName)
37 {
38 return Message(sourceLineNumbers, Ids.DeprecatedBAFactoryAssemblyAttribute, "The {0}/@{1} attribute has been deprecated. Move the Payload/@SourceFile attribute to be the BootstrapperApplication/@SourceFile attribute and remove the Payload element.", elementName, attributeName);
39 }
40
36 private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args) 41 private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args)
37 { 42 {
38 return new Message(sourceLineNumber, MessageLevel.Warning, (int)id, format, args); 43 return new Message(sourceLineNumber, MessageLevel.Warning, (int)id, format, args);
@@ -50,6 +55,7 @@ namespace WixToolset.Bal
50 IuibaPrimaryPackageInstallCondition = 6503, 55 IuibaPrimaryPackageInstallCondition = 6503,
51 IuibaPrimaryPackageDisplayInternalUICondition = 6504, 56 IuibaPrimaryPackageDisplayInternalUICondition = 6504,
52 IuibaPrereqPackageAfterPrimaryPackage = 6505, 57 IuibaPrereqPackageAfterPrimaryPackage = 6505,
58 DeprecatedBAFactoryAssemblyAttribute = 6506,
53 } 59 }
54 } 60 }
55} 61}