locked
<Framework> in package manifest

    Question

  • http://msdn.microsoft.com/en-us/library/windows/apps/br211439.aspx, says <Framework> in the package manifest "Indicates whether the package is a framework package; that is, a package that can be used by other packages."

    Is there example code for creating a framework package and using it from an app? I'm looking for a mechanism to create a "library" package that can be loaded by an app, sort of how we would load a dll.

    Friday, January 6, 2012 8:16 PM

Answers

  • Frameworks are not an extensible feature. The Framework element was documented for completeness, but it needs updated to reflect this and avoid future confusion. Thanks for pointing that out.

    Is there a situation where a WinRT component (DLL / winmd) is not meeting your requirements?

     

    This sample uses that type of approach, albeit the code for the WinRT DLL is in the same solution.

     

    Thanks,

    -David


    Tuesday, January 10, 2012 8:05 PM
    Moderator

All replies

  • Frameworks are not an extensible feature. The Framework element was documented for completeness, but it needs updated to reflect this and avoid future confusion. Thanks for pointing that out.

    Is there a situation where a WinRT component (DLL / winmd) is not meeting your requirements?

     

    This sample uses that type of approach, albeit the code for the WinRT DLL is in the same solution.

     

    Thanks,

    -David


    Tuesday, January 10, 2012 8:05 PM
    Moderator
  • Thanks for the answer. A WinRT component DLL will work for my purposes for now.
    Tuesday, January 10, 2012 11:39 PM