Skip to content

Commit e7e13a0

Browse files
committed
Test fix dependency injection installer issue 4
1 parent babfe5c commit e7e13a0

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Flow.Launcher/App.xaml.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@ public App()
7575
WriteToLogFile($"AppContext.BaseDirectory: {AppContext.BaseDirectory}");
7676
_host = Host.CreateDefaultBuilder()
7777
.UseContentRoot(AppContext.BaseDirectory)
78-
.ConfigureLogging(logging =>
79-
{
80-
// Clear default logging providers
81-
// Fix issue EventLog access is not supported on this platform.
82-
logging.ClearProviders();
83-
})
8478
.ConfigureServices(services => services
8579
.AddSingleton(_ => _settings)
8680
.AddSingleton(sp => new Updater(sp.GetRequiredService<IPublicAPI>(), Launcher.Properties.Settings.Default.GithubRepo))

Flow.Launcher/Flow.Launcher.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
9191
</PackageReference>
9292
<PackageReference Include="InputSimulator" Version="1.0.4" />
93-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
94-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
93+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
94+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.0" />
9595
<PackageReference Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.3" />
9696
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.106">
9797
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)