Wednesday, August 28, 2013

[C#] VS 2012 for 8: System.Net.Sockets Unavailable

Hi there.


I'm very new to the C# scene and I was hoping to immerse myself in the new UI for Windows to create a very basic socket-server management client. However, there's a very large problem. When I try to include system.net.sockets in order to initiate a TCP connection, it throws an error describing that said reference cannot be found.


I'm including it into the handler page of the project, MainPage.xaml.cs, since there's not much handling I need to do besides the socket connection.


Is the problem that I'm trying to write the full code for the handler's function in the handler class? Should I be creating a separate class and writing the function there, then using the function in the handler?



No comments:

Post a Comment