Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Developer Preview C# version - features missing?

I've recently installed Windows 8 Dev preview, though I've ran into quite a few issues. Looking at the new C# API, I can say some features are missing. For example, I cannot find a wait to read a file - classical StreamReader no longer takes a filename string but rather an instance of Stream.

What am I missing? I've turned the Object Browser inside out, not actually finding anything.

Update: this is obviously the difference between a Portable Class Library and the traditional compilation: http://msdn.microsoft.com/en-us/library/system.io.streamreader.aspx. Hence, is non-portable Windows 8 API available to us yet?

like image 612
Mikulas Dite Avatar asked Sep 19 '11 15:09

Mikulas Dite


2 Answers

Likely the WinRT doesn't support that. It should be in the full .NET 4.5.

like image 57
Daniel A. White Avatar answered Nov 15 '22 18:11

Daniel A. White


The developer preview only includes libraries for developing Windows Metro Apps, and not the full framework. This (sadly) also excludes System.Data and a few other well-known namespaces.

like image 28
Joel Coehoorn Avatar answered Nov 15 '22 19:11

Joel Coehoorn