diff options
author | Rob Mensching <rob@firegiant.com> | 2019-05-12 15:56:22 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2019-05-12 23:25:04 -0700 |
commit | 83b04241472fdc93b0a3a7511479a1182ad5f4c0 (patch) | |
tree | 21f6d7e389201cf1a6b334b7496075d8e6108b48 /src/WixToolset.Core/CommandLine/CompileCommand.cs | |
parent | 1a45fef205dcaa3d310faba5ea6a10828c3b62cf (diff) | |
download | wix-83b04241472fdc93b0a3a7511479a1182ad5f4c0.tar.gz wix-83b04241472fdc93b0a3a7511479a1182ad5f4c0.tar.bz2 wix-83b04241472fdc93b0a3a7511479a1182ad5f4c0.zip |
IExtensionManager.Create renamed to IExtensionManager.GetServices
Diffstat (limited to 'src/WixToolset.Core/CommandLine/CompileCommand.cs')
-rw-r--r-- | src/WixToolset.Core/CommandLine/CompileCommand.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core/CommandLine/CompileCommand.cs b/src/WixToolset.Core/CommandLine/CompileCommand.cs index bc37ee8c..0a354a8f 100644 --- a/src/WixToolset.Core/CommandLine/CompileCommand.cs +++ b/src/WixToolset.Core/CommandLine/CompileCommand.cs | |||
@@ -57,7 +57,7 @@ namespace WixToolset.Core.CommandLine | |||
57 | foreach (var sourceFile in this.SourceFiles) | 57 | foreach (var sourceFile in this.SourceFiles) |
58 | { | 58 | { |
59 | var context = this.ServiceProvider.GetService<IPreprocessContext>(); | 59 | var context = this.ServiceProvider.GetService<IPreprocessContext>(); |
60 | context.Extensions = this.ExtensionManager.Create<IPreprocessorExtension>(); | 60 | context.Extensions = this.ExtensionManager.GetServices<IPreprocessorExtension>(); |
61 | context.Platform = this.Platform; | 61 | context.Platform = this.Platform; |
62 | context.IncludeSearchPaths = this.IncludeSearchPaths; | 62 | context.IncludeSearchPaths = this.IncludeSearchPaths; |
63 | context.SourcePath = sourceFile.SourcePath; | 63 | context.SourcePath = sourceFile.SourcePath; |
@@ -80,7 +80,7 @@ namespace WixToolset.Core.CommandLine | |||
80 | } | 80 | } |
81 | 81 | ||
82 | var compileContext = this.ServiceProvider.GetService<ICompileContext>(); | 82 | var compileContext = this.ServiceProvider.GetService<ICompileContext>(); |
83 | compileContext.Extensions = this.ExtensionManager.Create<ICompilerExtension>(); | 83 | compileContext.Extensions = this.ExtensionManager.GetServices<ICompilerExtension>(); |
84 | compileContext.OutputPath = sourceFile.OutputPath; | 84 | compileContext.OutputPath = sourceFile.OutputPath; |
85 | compileContext.Platform = this.Platform; | 85 | compileContext.Platform = this.Platform; |
86 | compileContext.Source = result?.Document; | 86 | compileContext.Source = result?.Document; |