locked
Metro Style App: multi-app package

    Question

  • I want to raise a Toast Notification from one app via another, by using the ToastNotificationManager::CreateToastNotifier(String appID). 

    I've understood that it can be only when the two apps are belong to the same multi-app package.

     

    And to the questions:

    1. What is "multi-app package" and how to create it?
    2. Is the "multi-app package" can hold also Desktop Application, or only Metro Style Apps?
    3. What is PRAID (Package Relative Applicatin ID), and from where I can get it?

     

    Thanks



    • Edited by mleng Thursday, November 10, 2011 10:27 AM
    Thursday, November 10, 2011 9:27 AM

Answers

  • Hi mleng,

    A multi-app package is a package with multiple Metro style apps in it.  See App packages and deployment for more information on what they are and how to create them.  The Package Relative Application ID is the Application ID of the app relative to the Package: just the Application ID, without the package ID.  You define this in the Package manifest.

    --Rob

     

    Wednesday, November 16, 2011 1:23 AM
    Owner

All replies

  • Hi mleng,

    A multi-app package is a package with multiple Metro style apps in it.  See App packages and deployment for more information on what they are and how to create them.  The Package Relative Application ID is the Application ID of the app relative to the Package: just the Application ID, without the package ID.  You define this in the Package manifest.

    --Rob

     

    Wednesday, November 16, 2011 1:23 AM
    Owner
  • Hi mleng,

    A multi-app package is a package with multiple Metro style apps in it.  See App packages and deployment for more information on what they are and how to create them.  The Package Relative Application ID is the Application ID of the app relative to the Package: just the Application ID, without the package ID.  You define this in the Package manifest.

    --Rob

     

    Hi Rob,

    Whenever I add a new Metro app to an existing solution it automatically gets a a package manifest. Do I need to delete this manifest and then manually add the Application tag to an another package manifest ?.  Is there a sample or steps on how to create the multi app package. I could not find any documentation regarding this. Any help will be highly appreciated.

    Thanks

    • Edited by banglr5 Wednesday, November 30, 2011 7:54 PM
    Wednesday, November 30, 2011 7:53 PM
  • I don't believe Visual Studio supports multiple application packages.  You would need to edit the manifest and build the package with MakeAppX.exe or the Packaging API as documented in the App packages and deployment

    Wednesday, November 30, 2011 11:40 PM
    Owner
  • Hi Rob,

    I can create the .appx using the MakeAppx.exe tool, but am seeing some problems when creating the certificate for signing the package. Below is the command and result I'm getting when executing the makecert command from an elevated console window.

    "makecert.exe -n "CN=sandeep" -r -a sha1 -sv sandeep.pvk sandeep.cer -ss root
    Error: Can't create the key of the subject ('sandeep.pvk')
    Failed"

     

    Thanks,

    Friday, December 2, 2011 7:24 PM
  • I've a similar requirement to send a Toast from one metro app to the other on my local machine. I've created two Metro apps in C#, but having a difficult time packaging them manually. The main problem is that Visual Studio requires that each app have its own App.xaml/App.xaml.cs file.  Now how do I package two apps that have the same filename - App.xaml. I need to add the Appx.Xaml file to the package otherwise the app won't launch. I tried creating a seperate folder to put the App.Xaml and MainPage.Xaml files but the app doesn't launch. Any help would be greatly appreciated.
    Friday, August 24, 2012 6:30 PM
  • Hi Rob, I have a similar requirement about how create "multi-app package". I have one metro project coded by JS, and one metro project coded by C#, they can be built as standalone appx. But now I want to merge two apps into a signle package. I know VS tool can't support this. I modified the mapping file and used MakeAppx.exe to create the package. But some filename are the same and under same directory like resources.pri, how could I resolve this issue?
    Thursday, March 6, 2014 9:12 AM
  • Rob, I did not find any info on that site about mult-app packages.
    Tuesday, April 1, 2014 12:38 PM