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'

Primary Software: Measurement Studio>>Visual C++ Support
Primary Software Version: 8.0.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: When you create an Unmanaged C++ .NET application that uses Measurement Studio .NET controls or libraries, you 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

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 that field.

Related Links:

Attachments:





Report Date: 07/26/2006
Last Updated: 10/30/2006
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