Nethereum / Nethereum.Playground

Compile and run Nethereum snippets on the browser
MIT License
28 stars 17 forks source link

Compiling `Ether: Transfer Ether to an account` sample fails due to missing BouncyCastle.Crypto dependency #52

Closed iDawer closed 1 year ago

iDawer commented 1 year ago

Hi, thank you for great work!

Compiling the sample at the playground fails with this output:

System.TypeLoadException: Could not load type of field 'Nethereum.Signer.EthECKey:SecureRandom' (0) due to: Could not load file or assembly 'BouncyCastle.Crypto, Version=1.8.2.0, Culture=neutral, PublicKeyToken=0e99375e54769942' or one of its dependencies.
   at Program.Main(String[] args)
   at Nethereum.Playground.Components.PlaygroundEditor.PlaygroundEditorViewModel.CompileAndRunCsharp()
   at Nethereum.Playground.Components.PlaygroundEditor.PlaygroundEditorViewModel.RunInternal()

That dependency is missing in Remote Assemblies and adding it manually does not help.

juanfranblanco commented 1 year ago

It might have not loaded properly, maybe it needs refreshing. image

image

iDawer commented 1 year ago

Ohh, that was connection issue. Loading through VPN works fine. Looks like my garbage ISP aren't doing good with their traffic regulation.

Sorry for bothering.