Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5     Rate this Document

Warning C4945: 'DotfuscatorAttribute' in Measurement Studio 8.0.1 and Below

Primary Software: LabWindows/CVI Development Systems>>Full Development System
Primary Software Version: 8.0.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
When I create a managed C++ .NET application that uses Measurement Studio .NET controls or libraries, I will sometimes receive a warning message similar to this:

Warning C4945: 'DotfuscatorAttribute' : cannot import symbol from
'C:\Program Files\National Instruments\MeasurementStudioVS2005\DotNet\Assemblies\Current\NationalInstruments.UI.dll':
as 'DotfuscatorAttribute' has already been imported from another assembly 'NationalInstruments.UI.WindowsForms'
C:\Program Files\National Instruments\MeasurementStudioVS2005\DotNet\Assemblies\Current\NationalInstruments.UI.dll


Why am I getting this warning?

Solution:
These warnings will not affect your application. If you would like to remove these warnings, you can set your project to ignore them. To do this, go to Project»Properties»Configuration Properties»C/C++»Advanced»Disable Specific Warnings. Enter 4945 in this field.

This issue was fixed in Measurement Studio 8.1.1.

Related Links:
KnowledgeBase 35S7LP00: Why do I get Compiler Warnings in Code after Converting Measurement Studio 1.0 Projects to Measurement Studio 6.0 ?

Attachments:





Report Date: 07/26/2006
Last Updated: 02/18/2009
Document ID: 3ZPG7P9A

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit