- Home /
`System.IO.File' does not contain a definition for `AppendText'?
I am very new to Unity3d and tried to open an existing project. While playing it shows the following error.
Assets/Scripts/DataAccess.cs(39,30): error CS0117: System.IO.File' does not contain a definition forAppendAllText'
I dont have any idea about how to solve this. I have tired a lot but get stuck over here.
It would be appreciating if anyone solve this problem.
Thanks in advance...
Answer by dkNinja · Apr 12, 2012 at 08:35 PM
Try changing the API Compatibility Level from .NET 2.0 Subset to 2.0 Full in Edit->Project Settings->Player under Optimizations.
Your answer
Follow this Question
Related Questions
Why do Two Instances of MonoDevelop Open when I double-click a CS file in Inspector? 0 Answers
Is it possible to reference .NET references and give up cross-platform? 1 Answer
Object deformation on activat 0 Answers
How to use Unity's mono to compile in MonoDevelop 2 Answers
Use .NET native dll calls 1 Answer