Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to get namespace System.Deployment.Application

I am trying to get this: System.Deployment.Application.ApplicationDeployment.CurrentDeployment.IsFirstRun

But the application namespace is not there. I just see System.Deployment.Internal. The object browser, however, shows me all the properties and methods of that namespace, but my app can't see it.

What am I missing?

like image 452
crystal Avatar asked Feb 27 '23 10:02

crystal


1 Answers

Did you add a reference to System.Deployment?

like image 58
aape Avatar answered Mar 04 '23 00:03

aape