diff options
Diffstat (limited to 'src/WixToolset.Core.Burn/BundleBackend.cs')
-rw-r--r-- | src/WixToolset.Core.Burn/BundleBackend.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/WixToolset.Core.Burn/BundleBackend.cs b/src/WixToolset.Core.Burn/BundleBackend.cs index 1d833b93..f859cbec 100644 --- a/src/WixToolset.Core.Burn/BundleBackend.cs +++ b/src/WixToolset.Core.Burn/BundleBackend.cs | |||
@@ -9,10 +9,11 @@ namespace WixToolset.Core.Burn | |||
9 | using WixToolset.Data; | 9 | using WixToolset.Data; |
10 | using WixToolset.Extensibility; | 10 | using WixToolset.Extensibility; |
11 | using WixToolset.Extensibility.Data; | 11 | using WixToolset.Extensibility.Data; |
12 | using WixToolset.Extensibility.Services; | ||
12 | 13 | ||
13 | internal class BundleBackend : IBackend | 14 | internal class BundleBackend : IBackend |
14 | { | 15 | { |
15 | public BindResult Bind(IBindContext context) | 16 | public IBindResult Bind(IBindContext context) |
16 | { | 17 | { |
17 | BindBundleCommand command = new BindBundleCommand(context); | 18 | BindBundleCommand command = new BindBundleCommand(context); |
18 | //command.DefaultCompressionLevel = context.DefaultCompressionLevel; | 19 | //command.DefaultCompressionLevel = context.DefaultCompressionLevel; |
@@ -24,10 +25,14 @@ namespace WixToolset.Core.Burn | |||
24 | //command.WixVariableResolver = context.WixVariableResolver; | 25 | //command.WixVariableResolver = context.WixVariableResolver; |
25 | command.Execute(); | 26 | command.Execute(); |
26 | 27 | ||
27 | return new BindResult { FileTransfers = command.FileTransfers, TrackedFiles = command.TrackedFiles }; | 28 | var result = context.ServiceProvider.GetService<IBindResult>(); |
29 | result.FileTransfers = command.FileTransfers; | ||
30 | result.TrackedFiles = command.TrackedFiles; | ||
31 | |||
32 | return result; | ||
28 | } | 33 | } |
29 | 34 | ||
30 | public DecompileResult Decompile(IDecompileContext context) | 35 | public IDecompileResult Decompile(IDecompileContext context) |
31 | { | 36 | { |
32 | throw new NotImplementedException(); | 37 | throw new NotImplementedException(); |
33 | } | 38 | } |