How do you get the application manifest data programatically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rpavlicek
    New Member
    • Apr 2010
    • 2

    How do you get the application manifest data programatically

    This is for a WPF application (can be either stand-alone or XBAP)

    I wish to read some of the properties of the application manifest during runtime using the:



    Microsoft.Build .Tasks.Deployme nt.ManifestUtil ities.Applicati onManifest class.



    Specifically I wish to determine if "HostInBrow ser" is true or false. This can be a variable in our deployment solution.



    Is this possible? How can I "grab" the manifest data from the application itself to read it? Its either so painfully obvious I'm missing something or it cannot be done without jumping through hoops.
  • Monomachus
    Recognized Expert New Member
    • Apr 2008
    • 127

    #2
    Originally posted by rpavlicek
    This is for a WPF application (can be either stand-alone or XBAP)

    I wish to read some of the properties of the application manifest during runtime using the:



    Microsoft.Build .Tasks.Deployme nt.ManifestUtil ities.Applicati onManifest class.



    Specifically I wish to determine if "HostInBrow ser" is true or false. This can be a variable in our deployment solution.



    Is this possible? How can I "grab" the manifest data from the application itself to read it? Its either so painfully obvious I'm missing something or it cannot be done without jumping through hoops.
    Move this thread to xaml/wpf section.
    Please be attentive when posting a question, because too many times the messages are in the wrong section.

    Comment

    Working...