Solution
This error occurs because the default value is true for the
Embed Interop Types property of the TestStand API Interop assembly referenced in the new project. To resolve this error, change the value of the
Embed Interop Types property to
False by following these steps:
- Select the TestStand Interop Assembly reference in the references section of your project in the Solution Explorer.
- Find the Embed Interop Types property in the Property Browser, and change the value to False