How do you get the application manifest data programatically

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

    #1

    How do you get the application manifest data programatically

    (This is a repost since the original was in the wrong forum, sorry).

    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 .ApplicationMan ifest class.



    Specifically I wish to determine if "HostInBrow ser" is true or false. This can be a variable in our deployment solution. (It can be deployed as an XBAP or stand-alone WPF)


    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.

    Thank you
Working...