Quantcast
Viewing latest article 22
Browse Latest Browse All 62

File.IO WriteAllText not working?

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 latest article 22
Browse Latest Browse All 62

Trending Articles



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