Usually such problem occurs when the R.net is not initialized properly.
Create a console program and apply this code, it would give more explicit error information, which is useful to solve the problem. So could you please tell me the error information in console program?
Create a console program and apply this code, it would give more explicit error information, which is useful to solve the problem. So could you please tell me the error information in console program?