Quantcast
Channel: Latest Questions by absameen
Viewing all articles
Browse latest Browse all 62

File.IO WriteAllText not working?

$
0
0
Hello, I have an error reported by a customer who has purchased my asset. The error is "error CS0117: `System.IO.File' does not contain a definition for `WriteAllText'" The line in question is: File.WriteAllText(somePath, someString); It is reported to occur when switching to the Web Player platform, however I haven't been able to reproduce the bug. What could be the reason why "WriteAllText" is not found in this case? Thanks.

Viewing all articles
Browse latest Browse all 62

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>