[GH-ISSUE #37] Version 1.6 error loading System.Net.HTTP #30

Closed
opened 2026-02-26 21:31:20 +03:00 by kerem · 2 comments
Owner

Originally created by @DerKamii on GitHub (Feb 14, 2019).
Original GitHub issue: https://github.com/ridercz/AutoACME/issues/37

Hi,

your release has a problem with System.Net.Http:
Could not load file or assembly 'System.Net.Http, Version=4.2.0.0

Full Msg:
Unbehandelte Ausnahme: System.IO.FileLoadException: Die Datei oder Assembly "System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)
bei Altairis.AutoAcme.Core.AutoAcmeContext..ctor(Uri serverAddress)
bei Altairis.AutoAcme.Manager.Program.InitCfg(Boolean useDefaults, String cfgFileName, Boolean overwrite, Boolean verbose)
bei lambda_method(Closure , Object , Object[] )
bei NConsoler.Consolery.InvokeMethod(MethodInfo method)
bei NConsoler.Consolery.RunAction()
bei NConsoler.Consolery.Run(Type targetType, String[] args, IMessenger messenger, Notation notationType)
bei NConsoler.Consolery.Run()
bei Altairis.AutoAcme.Manager.Program.Main(String[] args)

1.5.4 still work's great.

Originally created by @DerKamii on GitHub (Feb 14, 2019). Original GitHub issue: https://github.com/ridercz/AutoACME/issues/37 Hi, your release has a problem with System.Net.Http: Could not load file or assembly 'System.Net.Http, Version=4.2.0.0 Full Msg: Unbehandelte Ausnahme: System.IO.FileLoadException: Die Datei oder Assembly "System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040) bei Altairis.AutoAcme.Core.AutoAcmeContext..ctor(Uri serverAddress) bei Altairis.AutoAcme.Manager.Program.InitCfg(Boolean useDefaults, String cfgFileName, Boolean overwrite, Boolean verbose) bei lambda_method(Closure , Object , Object[] ) bei NConsoler.Consolery.InvokeMethod(MethodInfo method) bei NConsoler.Consolery.RunAction() bei NConsoler.Consolery.Run(Type targetType, String[] args, IMessenger messenger, Notation notationType) bei NConsoler.Consolery.Run() bei Altairis.AutoAcme.Manager.Program.Main(String[] args) 1.5.4 still work's great.
kerem closed this issue 2026-02-26 21:31:20 +03:00
Author
Owner

@avonwyss commented on GitHub (Feb 14, 2019):

@DerKamii Thanks for reporting. You can fix this by editing the .config file. The assembly redirect for System.Net.Http should be like this:

      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.1.1.3" />
      </dependentAssembly>

@ridercz The nuget package update github.com/ridercz/AutoACME@9d27324274 broke this, I fixed the .config files, could you make another release?

<!-- gh-comment-id:463575182 --> @avonwyss commented on GitHub (Feb 14, 2019): @DerKamii Thanks for reporting. You can fix this by editing the `.config` file. The assembly redirect for System.Net.Http should be like this: ``` <dependentAssembly> <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.1.1.3" /> </dependentAssembly> ``` @ridercz The nuget package update https://github.com/ridercz/AutoACME/commit/9d2732427419f6d0761a7c750e7cd6b0f6f9964a broke this, I fixed the `.config` files, could you make another release?
Author
Owner

@ridercz commented on GitHub (Feb 23, 2019):

Fixed in 1.6.1.

<!-- gh-comment-id:466639734 --> @ridercz commented on GitHub (Feb 23, 2019): Fixed in 1.6.1.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AutoACME#30
No description provided.