locked
why is windows storage namespace not supported in PCL projects? RRS feed

  • Question

  • the namespace requirements for it says it is supported for both windows phone 8 and windows 8.  That seems to imply it is a strong candidate for PCL support but it's not.

    walter fink

    • Moved by Amanda Zhu Tuesday, April 29, 2014 3:25 AM
    Friday, April 25, 2014 9:04 PM

Answers

  • Portable Class Libraries (PCL) include only the .Net Framework classes which are available to their common targets. Windows Runtime namespaces such as Windows.Storage are not .Net Framework and so cannot be implemented in a PCL.

    Universal apps for Windows 8.1 and Windows Phone 8.1 can share Windows Runtime code.

    --Rob

    Tuesday, April 29, 2014 3:29 AM
    Moderator

All replies

  • Hi,

    I moved this thread to Building Windows Store apps with C# or VB forum for better support.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, April 29, 2014 3:25 AM
  • Portable Class Libraries (PCL) include only the .Net Framework classes which are available to their common targets. Windows Runtime namespaces such as Windows.Storage are not .Net Framework and so cannot be implemented in a PCL.

    Universal apps for Windows 8.1 and Windows Phone 8.1 can share Windows Runtime code.

    --Rob

    Tuesday, April 29, 2014 3:29 AM
    Moderator