You target 4.0:
Per the plugin migration document from Microsoft:
Update the following project properties. (In the Solution Explorer, under the project node, click Properties.) in the Application tab, change TargetFramework to the .NET Framework 4
You may find significant value in the Visual Studio Integration SDK documentation. Best of luck.