I need to restart IIS from a C#/.NET application. This seems like a trivial issue, but I haven\'t had success thus far, and none of the answers from this question have worke
Right click on project name in Solution Explorer ->Add ->New Item-> Appliaction Manifest File.
In it edit the
this should solve your issue.