Unity 2017 在发布UWP(又是UWP,我发现这玩意就是个天坑,直接发布PC版的是毫无问题的)
时, HttpWebRequest.Timeout、HttpWebRequest.GetRequestStream()、Stream.Close()等方法变量变量 报错
类似: 'XXXX' does not contain a definition for 'XXX' and no extension method 'Close' accepting a first argument of type 'Stream' could be found (are you missing a using directive or an assembly reference?)
【 例如'Stream' does not contain a definition for 'Close' and no extension method 'Close' accepting a first argument of type 'Stream' could be found (are you missing a using directive or an assembly reference?)】

直接运行是正常的,只有在打包的时候才会报这个错误,导致发包发不出来。
请问有大佬遇到过这种问题么?
求个解决方法或者解决思路,
或者帮忙分析讨论下原因也是极好的……感激不尽……
时, HttpWebRequest.Timeout、HttpWebRequest.GetRequestStream()、Stream.Close()等方法变量变量 报错
类似: 'XXXX' does not contain a definition for 'XXX' and no extension method 'Close' accepting a first argument of type 'Stream' could be found (are you missing a using directive or an assembly reference?)
【 例如'Stream' does not contain a definition for 'Close' and no extension method 'Close' accepting a first argument of type 'Stream' could be found (are you missing a using directive or an assembly reference?)】

直接运行是正常的,只有在打包的时候才会报这个错误,导致发包发不出来。
请问有大佬遇到过这种问题么?
求个解决方法或者解决思路,
或者帮忙分析讨论下原因也是极好的……感激不尽……


