Reputation: 13141
I'm developing an XBAP application in C# and want to be able to use the System.Deployment object methods. In the object browser, I'm able to see all the object, when I try and access these methods via the code, it will not work and states that the methods are not in the name space.
Any suggestions?
Upvotes: 0
Views: 410
Reputation: 17143
Not sure if this is your issue but are your XBAP running in "full trust mode" or not?
By default, XBAPs are sandboxed...
Here is a article on how to make your XBAP full trust
More information
Upvotes: 1