Hello,
I have dll that is built for target framework “.Net Framework 3.5 Client Profile”.
When building in unity for UWP, I got lots of errors that refer to System.Net namespace like
- Reference rewriter: Error: type
System.Net.Sockets.Socketdoesn’t exist in target framework. It is referenced from CommonTypes.dll at System.Boolean - Reference rewriter: Error: type
System.Net.SocketAsyncEventArgsdoesn’t exist in target framework. It is referenced from CommonTypes.dll at System.Boolean
Can someone point, why this error occur? As for as I know Socket class(actually all classes that are referenced by this dll) exists in UWP in System.Net namespace.
If I use Socket class in unity scripts - there is no error while building for UWP.
Thanks!