Closed stokara closed 6 years ago
Hi, thanks for the follow-up.
Just clutching at straws, is it possible <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
might not be kicking in properly for this toolchain?
One thing to try might be an explicit binding redirect for System.Net.Http in the App.config file.
Let me know if this makes any difference. If not, a copy of the error message would be handy. Thanks!
I had already tried that. The problem stems from use the UWP Bridge. The WPF app works by itself, it is when the app is started using the UWP bridge that the problem surfaces when it seems to load the system.net.http nuget dll but then looks for the 4.2 framework version.
From: Nicholas Blumhardt [mailto:notifications@github.com] Sent: Tuesday, January 30, 2018 7:33 PM To: serilog/serilog-sinks-seq serilog-sinks-seq@noreply.github.com Cc: stokara avistokar@gmail.com; Author author@noreply.github.com Subject: Re: [serilog/serilog-sinks-seq] Error - Cant find System.Net.Http when using Appx Bridge onn WPF project (#102)
Hi, thanks for the follow-up.
Just clutching at straws, is it possible
One thing to try might be an explicit binding redirect for System.Net.Http in the App.config file.
Let me know if this makes any difference. If not, a copy of the error message would be handy. Thanks!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/serilog/serilog-sinks-seq/issues/102#issuecomment-361782729, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABAJ5iaaL0zK9kieDfxbe_L8GxtlAUf4ks5tP7SugaJpZM4Rxe5l.
Hoping that the tooling has been updated to address this, since we haven't had further reports. Cheers!
Adding a ref to framework system.net.http does not help nor does adding the NuGet Package for it
Here is the csproj: