From 3627fcdb378173b9f09373112934013890223e92 Mon Sep 17 00:00:00 2001 From: Nik Date: Thu, 28 Sep 2023 11:04:14 +0300 Subject: [PATCH] chore!: expect workflow to throw error on di resolving dep --- src/Apps/GameDesktop/CompositionRoots/GameCompositionRoot.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Apps/GameDesktop/CompositionRoots/GameCompositionRoot.cs b/src/Apps/GameDesktop/CompositionRoots/GameCompositionRoot.cs index 92b68d8..4a08828 100644 --- a/src/Apps/GameDesktop/CompositionRoots/GameCompositionRoot.cs +++ b/src/Apps/GameDesktop/CompositionRoots/GameCompositionRoot.cs @@ -2,6 +2,7 @@ using LightInject; using Microsoft.Xna.Framework; using Serilog; +using Serilog.Core; namespace GameDesktop.CompositionRoots; @@ -23,7 +24,7 @@ private void RegisterGameServices(IServiceRegistry serviceRegistry) serviceRegistry.Register(factory => { Game game = new( - factory.GetInstance(), + factory.GetInstance(), factory.GetInstance(), factory.GetInstance() ) { IsMouseVisible = IsMouseVisible, Content = { RootDirectory = AppVariables.ContentRootDirectory, } };