-
Notifications
You must be signed in to change notification settings - Fork 300
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
Compile Error 'RuntimeInformation' does not exist in the current context #4
Comments
Another problem, STUN from Google not always works very well. Need to be able to change the STUN server address, so better to expose STUN server address into the GUI. |
The Visual Studio error “You are debugging a Release build of p2p.exe. Using Just My Code with Release builds using compiler optimizations results in a degraded debugging experience (e.g. breakpoints will not be hit).” In |
Hello @myfingerhurt, thanks for sharing your valuable notes, much appreciated! |
Added more stun servers: 171947c |
For now, the error is gone. I can connect 2 PCs in LAN but not in WAN. For this to work should port forwarding be enabled? Because my ISP doesn't allow forwarding ports. Is that can be a reason? |
Good.., No need for port forwarding, being P2P. |
When I was trying to compile this project at first time with Visual Studio 2015, I ran into these errors.
And before those errors vs 2015 was asking me for .NET Framework 4.8.
First I was trying to install .NET Framework 4.8, but didn't solve the errors.
https://dotnet.microsoft.com/download/dotnet-framework/net48
Then after few googling, I found this site was helping.
https://www.nuget.org/packages/System.Runtime.InteropServices.RuntimeInformation/
So I go to Solution Explorer find this project, right-click, Manage Nuget Package... In the Browse tab, Search "RuntimeInformation" then find the "System.Runtime.InteropServices.RuntimeInformation" Package name, 4.3.0 is the newest for now, and click Install.
Then rebuild, all errors are gone.
The text was updated successfully, but these errors were encountered: