New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install failed on Windows Universal #120
Comments
was it able before ? I can't compile on windows universal so I don't know. What error do you have ? (sorry for the delay) |
Can you also try the "NBitcoin For Mono" package ? |
NuGet / Visual Studio 2015 is now able to perform the update to new release(2.1.4.7). All very strange. |
By the way, I am interested to know if it the lib works fine on Univeral Project, since I did not tried. Let me know. If it is a problem for you, you can try NBitcoin For Mono package which include everything and should also works fine on Universal. |
I'm developing a client for Windows 10 in my spare time. |
On universal Windows (app for Windows 10) NBitcoin.Mono fails installation with NuGet. var k = new NBitcoin.Key(); System.InvalidOperationException: You must set the RNG (RandomUtils.Random) before generating random numbers |
On Windows 10, PRNG uses the CryptographicBuffer. I solved this code:
To generate the key |
thanks, will be useful when I'll make a specific version for universal |
Hello, Any chance this will be solved for Windows 10? NBitcoin.4.0.0.13 Any code fails with this error: using System; namespace Blockchain Thanks, Alexandru |
@GoldNRoll set Windows Universal will soon support .NETStandard 2.0, so it will soon be not needed. Actually I think this is supported, in fall creator update https://blogs.windows.com/buildingapps/2017/05/19/introducing-xaml-standard-net-standard-2-0/ |
Perfect, thanks!! |
@GoldNRoll sorry I incorrectly diagnotised your problem, turns out you were not using UWP so my response does not apply. I fixed the problem, now you can reference NBitcoin without the issue. Someone reported it ProgrammingBlockchain/ProgrammingBlockchain#73 The issue was that I dropped net452 support for I don't know what reason, but some version of Visual Studio still use this old .net version for new project template. I added back the support, so now you won't get error. |
Hi Nicolas, Perfect, I updated NBitcoin to 4.0.0.15 and now it works in console application :) Thank you!! |
NuGet no longer able to install the package on a Windows Universal project with VS2015
The text was updated successfully, but these errors were encountered: