2
votes

Anyone has the same problem with Windows Phone 8.1?

  1. The type or namespace name 'FileStream' does not exist in the namespace 'System.IO' (are you missing an assembly reference?)
  2. The name 'FileMode' does not exist in the current context
  3. The name 'FileAccess' does not exist in the current context
  4. 'System.IO.StreamReader' does not contain a definition for 'Close' and no extension method 'Close' accepting a first argument of type 'System.IO.StreamReader' could be found (are you missing a using directive or an assembly reference?)
1
Would be better if we see your code also..Soner Gönül
Its not the code. I try to use System.IO.FileStream and the other three things and it just cant find them, but System.IO is included...v.g.
according to msdn it should be supported msdn.microsoft.com/en-us/library/…thumbmunkeys
Why don't you try adding System.IO as a reference to your project? Just sayingJhon
I know, I saw it too, but..v.g.

1 Answers

0
votes

I had the same problem. The post below resolved the problem.

How do I read an embedded text file on Windows Phone 8.1?