x


`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...

more ▼

asked Apr 12 '12 at 11:14 AM

vinoth gravatar image

vinoth
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Try changing the API Compatibility Level from .NET 2.0 Subset to 2.0 Full in Edit->Project Settings->Player under Optimizations.

more ▼

answered Apr 12 '12 at 08:35 PM

dkNinja gravatar image

dkNinja
91 2

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x843
x376
x181
x141
x97

asked: Apr 12 '12 at 11:14 AM

Seen: 742 times

Last Updated: Apr 12 '12 at 08:35 PM