-1

I've tried countless times to push a Laravel project to GitHub but it fails.

GitHub Error: Unhandled Exception: System.Io.FileNotFoundException

I would like to find a solution. I've also tried to generate a new token on GitHub but it has not solved the problem.

aynber
  • 22,380
  • 8
  • 50
  • 63
  • 2
    Could you paste the text (command and output) _as text_ in the question, please? And welcome to SO! – eftshift0 Aug 30 '23 at 15:12
  • $ git push -u origin master Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. – Sonny Black Aug 30 '23 at 15:19
  • Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. --- End of inner exception stack trace --- at GitCredentialManager.Program.Main(String[] args) – Sonny Black Aug 30 '23 at 15:20
  • remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication. – Sonny Black Aug 30 '23 at 15:20
  • https://stackoverflow.com/search?q=%5Bgit%5D+Could+not+load+file+or+assembly+System.Net.Http – phd Aug 30 '23 at 15:24
  • 1
    https://github.com/git-ecosystem/git-credential-manager/issues/474 Suggests it might be an issue with your .NET framework installation – aynber Aug 30 '23 at 15:24

0 Answers0