Solution
Complete the following steps to configure LabVIEW to generate interop assemblies that target .NET 2.0:
- Open C:\Program Files (x86)\National Instruments\LabVIEW 201X\LabVIEW.ini as a text file. If LabVIEW.ini does not exist, create a new text file in the LabVIEW directory and save it with the name LabVIEW.ini.
- Enter GenerateInteropAssemblyDotNetFx20=True on a new line.
- Save and close the file. Restart LabVIEW for the new configuration to take effect.
LabVIEW can now generate interop assemblies that target .Net 2.0.