hello everyone,
I am using TestStand ActiveX controls(ApplicationMgr, SequenceMgr, ExcutionMgr) in my project written in WPF 2012.
After I put the controls on the form, there are some referrences automatically included in my project. But when I compile, I got the following warnings in the output window:
CSC : warning CS1762: A reference was created to embedded interop assembly 'c:\Windows\assembly\GAC_MSIL\NationalInstruments.TestStand.Interop.UI\5.1.0.226__ad9244eb3b825cd8\NationalInstruments.TestStand.Interop.UI.dll' because of an indirect reference to that assembly created by assembly 'c:\Program Files (x86)\National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll'. Consider changing the 'Embed Interop Types' property on either assembly.
CSC : warning CS1762: A reference was created to embedded interop assembly 'c:\Windows\assembly\GAC_MSIL\NationalInstruments.TestStand.Interop.UI.Support\5.1.0.226__ad9244eb3b825cd8\NationalInstruments.TestStand.Interop.UI.Support.dll' because of an indirect reference to that assembly created by assembly 'c:\Program Files (x86)\National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll'. Consider changing the 'Embed Interop Types' property on either assembly.
CSC : warning CS1762: A reference was created to embedded interop assembly 'c:\Windows\assembly\GAC_MSIL\NationalInstruments.TestStand.Interop.API\5.1.0.226__ad9244eb3b825cd8\NationalInstruments.TestStand.Interop.API.dll' because of an indirect reference to that assembly created by assembly 'c:\Program Files (x86)\National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll'. Consider changing the 'Embed Interop Types' property on either assembly.
CSC : warning CS1762: A reference was created to embedded interop assembly 'c:\Windows\assembly\GAC\stdole\7.0.3300.0__b03f5f7f11d50a3a\stdole.dll' because of an indirect reference to that assembly created by assembly 'c:\Program Files (x86)\National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll'. Consider changing the 'Embed Interop Types' property on either assembly.
When I change the "Embed Interop Types" property, I got errors instead. Can someone give some advise? What does the warning message mean? How should I get rid of the warnings or should I just ignore them?
thanks a lot!
Regards,