MaterialUI icon indicating copy to clipboard operation
MaterialUI copied to clipboard

System.IO.File' does not contain a definition forWriteAllBytes'

Open glady-anne opened this issue 8 years ago • 8 comments

@InvexGames hi! it seems im facing issue regarding Assets/MaterialUI/Scripts/ShadowGen.cs(292,40): error CS0117: System.IO.File' does not contain a definition forWriteAllBytes'

how can i fix it ? any solution please ?

glady-anne avatar Jun 04 '16 12:06 glady-anne

Hello, What platform are you targeting?

nah0y avatar Jun 06 '16 12:06 nah0y

android . can you help me how to fix it ?

glady-anne avatar Jun 06 '16 12:06 glady-anne

What version of Unity are you using?

nah0y avatar Jun 06 '16 15:06 nah0y

using unity version 5.2.0 Pada tanggal 6 Jun 2016 22.23, "Yohan Hadjedj" [email protected] menulis:

[image: Boxbe] https://www.boxbe.com/overview This message is eligible for Automatic Cleanup! ([email protected]) Add cleanup rule https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3D5A%252Fla8td%252FNQAva%252FqpuN5nGY5NivHJpnroSV5nW8AF7I%253D%26token%3D1xcDzxDj8JBfSpnd0uotuP85PWZS21EWdoTso%252BTuJZmMhy2zQ44%252BpMXcJTZ1IlpJzfzpHJIwj6NHOugVfxoy2wjwL%252BBJ3iYIyRV2v45J3bXo21eRJZmR4K9CvMTCrL169w%252FLWfLVtrwsBnX09gkszg%253D%253D&tc_serial=25664448379&tc_rand=109247157&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001 | More info http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=25664448379&tc_rand=109247157&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001

What version of Unity are you using?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/InvexGames/MaterialUI/issues/56#issuecomment-223992158, or mute the thread https://github.com/notifications/unsubscribe/AK5RKwKc_cpLDnYr7JIplTnZ2uNHtgx6ks5qJDsXgaJpZM4IuHkH .

NurulUs avatar Jun 06 '16 15:06 NurulUs

Hum... are you sure you're on Android? Seems like you're targeting WebPlayer that is not supported.

Go to File -> BuildSettings and switch to Android platform.

nah0y avatar Jun 07 '16 15:06 nah0y

Yes, using for my android. Pada tanggal 7 Jun 2016 22.55, "Yohan Hadjedj" [email protected] menulis:

[image: Boxbe] https://www.boxbe.com/overview This message is eligible for Automatic Cleanup! ([email protected]) Add cleanup rule https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DEZkjXH8mylAB0z26OneXXex8lHgSx5UtAumhqrSC%252BuE%253D%26token%3DBPJiLhe70%252FHhxU3QXTcZhAYCl%252Fd1Kx9XvX1NVwz%252BxjoC3hDFkOyVS%252FiwmaxPR84Y8qw7YNfUa6%252FvPiLaQuPWFuR6RyfDbSlDa6sSz96dV%252FLRgGEGjWHfROV4gWwDuUdmWsR5a6jkCX92LCNGDTvjAg%253D%253D&tc_serial=25676952179&tc_rand=630801703&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001 | More info http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=25676952179&tc_rand=630801703&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001

Hum... are you sure you're on Android? Seems like you're targeting WebPlayer that is not supported.

Go to File -> BuildSettings and switch to Android platform.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/InvexGames/MaterialUI/issues/56#issuecomment-224325923, or mute the thread https://github.com/notifications/unsubscribe/AK5RKyEMc6646rQ7UzIIsmTBEdeI0GHgks5qJZRbgaJpZM4IuHkH .

NurulUs avatar Jun 07 '16 16:06 NurulUs

yep i already download the android platform thanks @nah0y . now my new problem is when i click ADD OPEN SOURCES i go to the folder where i put what im download. then the android platform is .EXE but the only choices there to import is .UNITY and ALL FOLDERS? question is how can i import the android platform ?

glady-anne avatar Jun 08 '16 12:06 glady-anne

I don't understand a single thing of what you said, sorry lol

nah0y avatar Jun 08 '16 19:06 nah0y