I have the line using System.Deployment.Application;
at the beginning of my code. There is a red squiggly line under Application
and mousing over it gives me the following information:
The type or namespace name 'Application' does not exist in the namespace 'System.Deployment' (are you missing an assembly reference?) (CS0234)
This of course gives me problems when I use ApplicationDeployment
and it says The name 'ApplicationDeployment' does not exist in the current context (CS0103)
Why is Visual Studio telling me that Application
is not a part of System.Deployment
?