Skip to content

Commit

Permalink
Solution patcher container bugfix
Browse files Browse the repository at this point in the history
closes #499
  • Loading branch information
Noggog committed Nov 25, 2024
1 parent 3d82586 commit e2b4df2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 9 additions & 1 deletion Synthesis.Bethesda.Execution/Modules/SolutionPatcherModule.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Autofac;
using Autofac;
using Mutagen.Bethesda.Synthesis.Projects;
using Noggog.Autofac;
using Synthesis.Bethesda.Execution.Patchers.Git.Services;
using Synthesis.Bethesda.Execution.Patchers.Solution;
Expand All @@ -18,5 +19,12 @@ protected override void Load(ContainerBuilder builder)
.NotInjection()
.AsImplementedInterfaces()
.AsSelf();

builder.RegisterAssemblyTypes(typeof(CreateTemplatePatcherSolution).Assembly)
.InNamespacesOf(
typeof(CreateTemplatePatcherSolution))
.NotInjection()
.AsImplementedInterfaces()
.AsSelf();
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.IO;
using System.Reactive.Linq;
using Mutagen.Bethesda.Environments.DI;
using Mutagen.Bethesda.Synthesis.Projects;
using Noggog;
using Noggog.WPF;
Expand Down Expand Up @@ -33,7 +32,6 @@ public class NewSolutionInitVm : ASolutionInitializer
public string ProjectNameWatermark => _projectNameWatermark.Value;

public NewSolutionInitVm(
IGameCategoryContext gameCategoryContext,
IPatcherFactory patcherFactory,
IValidateProjectPath validateProjectPath,
CreateTemplatePatcherSolution createTemplatePatcherSolution)
Expand Down

0 comments on commit e2b4df2

Please sign in to comment.