aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Librarian.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Librarian.cs')
-rw-r--r--src/WixToolset.Core/Librarian.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Core/Librarian.cs b/src/WixToolset.Core/Librarian.cs
index 50357d8a..a64d77dd 100644
--- a/src/WixToolset.Core/Librarian.cs
+++ b/src/WixToolset.Core/Librarian.cs
@@ -67,7 +67,7 @@ namespace WixToolset.Core
67 /// <param name="library">Library to validate.</param> 67 /// <param name="library">Library to validate.</param>
68 private Intermediate Validate(Intermediate library) 68 private Intermediate Validate(Intermediate library)
69 { 69 {
70 FindEntrySectionAndLoadSymbolsCommand find = new FindEntrySectionAndLoadSymbolsCommand(library.Sections); 70 FindEntrySectionAndLoadSymbolsCommand find = new FindEntrySectionAndLoadSymbolsCommand(this.Context.Messaging, library.Sections);
71 find.Execute(); 71 find.Execute();
72 72
73 // TODO: Consider bringing this sort of verification back. 73 // TODO: Consider bringing this sort of verification back.
@@ -80,7 +80,7 @@ namespace WixToolset.Core
80 // reportDupes.Execute(); 80 // reportDupes.Execute();
81 // } 81 // }
82 82
83 return (Messaging.Instance.EncounteredError ? null : library); 83 return (this.Context.Messaging.EncounteredError ? null : library);
84 } 84 }
85 85
86 private static Dictionary<string, Localization> CollateLocalizations(IEnumerable<Localization> localizations) 86 private static Dictionary<string, Localization> CollateLocalizations(IEnumerable<Localization> localizations)
@@ -130,7 +130,7 @@ namespace WixToolset.Core
130 } 130 }
131 else 131 else
132 { 132 {
133 this.Context.Messaging.OnMessage(WixDataErrors.FileNotFound(tuple.SourceLineNumbers, pathField.Path, tuple.Definition.Name)); 133 this.Context.Messaging.Write(ErrorMessages.FileNotFound(tuple.SourceLineNumbers, pathField.Path, tuple.Definition.Name));
134 } 134 }
135 } 135 }
136 } 136 }