To enable client application services, you must set the Target Framework for your application to .NET Framework 3.5 or later. ...

To enable client application services, you must set the Target Framework for your application to .NET Framework 3.5 or later. In C#, you can do this on the Application property page. In Visual Basic, you can do this on the Compile property page by clicking Advanced Compile Options.