Hi,
I'm trying to build the Measurement Studio 8.0 .NET C# DataSockets example in Visual Studio 2005 with the "Build Solution" option on the build menu. It appears that the build completes successfully except I get two errors in the license files for both the reader and the writer projects. The errors are as follows:
Reader:
Error 1 Exception occurred creating type 'NationalInstruments.UI.WindowsForms.PropertyEditor, NationalInstruments.UI.WindowsForms, Version=8.0.11.236, Culture=neutral, PublicKeyToken=4544464cdeaab541' System.NullReferenceException: Object reference not set to an instance of an object. C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\DataSocket\ReaderWriter\cs\Reader\licenses.licx 10 Reader
Writer:
Error 2 Exception occurred creating type 'NationalInstruments.UI.WindowsForms.PropertyEditor, NationalInstruments.UI.WindowsForms, Version=8.0.11.236, Culture=neutral, PublicKeyToken=4544464cdeaab541' System.NullReferenceException: Object reference not set to an instance of an object. C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\DataSocket\ReaderWriter\cs\Writer\licenses.licx 9 Writer
On searching the NI site, I found the following article that describes a similar problem:
http://digital.ni.com/public.nsf/allkb/B4F4871968318365862570D6000B692B
On checking the "copy local" properties for the assemblies referenced in the article, I found that all the "copy local" properties were set to "false" which is what the article specifies as a solution to the problem.
Is there a solution for this problem?
Thanks.
Best Regards,
Matthew Zenkar
Lumetrics, Inc.