Posted 18 years ago
by Dong JIA
Hi all,
I am using SyntaxEditor v3.1.0210 with .NET 2.0, VS 2005 and Windows XP now.
After I imported syntax editor to a managed c++ project, I get the following error:
4>Compiling...
4>DotNetFormulaBoxUtils.cpp
4>c:\somepath\imports\actipro\common\actiprosoftware.shared.net20.dll : warning C4945: 'DotfuscatorAttribute' : cannot import symbol from 'c:\somepath\imports\actipro\common\actiprosoftware.shared.net20.dll': as 'DotfuscatorAttribute' has already been imported from another assembly 'ActiproSoftware.SyntaxEditor.Net20'
4> c:\somepath\imports\actipro\syntaxeditor\actiprosoftware.syntaxeditor.net20.dll : see declaration of 'DotfuscatorAttribute'
4> first seen type is used; re-order imported assemblies to use the current type
4> This diagnostic occurred while importing type '.DotfuscatorAttribute' from assembly 'ActiproSoftware.Shared.Net20, Version=1.0.80.0, Culture=neutral, PublicKeyToken=36ff2196ab5654b9'.
4>c:\somepath\imports\actipro\common\actiprosoftware.winuicore.net20.dll : warning C4945: 'DotfuscatorAttribute' : cannot import symbol from 'c:\somepath\imports\actipro\common\actiprosoftware.winuicore.net20.dll': as 'DotfuscatorAttribute' has already been imported from another assembly 'ActiproSoftware.SyntaxEditor.Net20'
4> c:\somepath\imports\actipro\syntaxeditor\actiprosoftware.syntaxeditor.net20.dll : see declaration of 'DotfuscatorAttribute'
4> first seen type is used; re-order imported assemblies to use the current type
4> This diagnostic occurred while importing type '.DotfuscatorAttribute' from assembly 'ActiproSoftware.WinUICore.Net20, Version=1.0.80.0, Culture=neutral, PublicKeyToken=1eba893a2bc55de5'.
4>c:\somepath\imports\actipro\common\actiprosoftware.winuicore.net20.dll : warning C4374: 'System::Drawing::Size ActiproSoftware::WinUICore::IUIElement::Size::get(void)': interface method will not be implemented by non-virtual method 'System::Drawing::Size System::Windows::Forms::Control::Size::get(void)'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'ActiproSoftware::WinUICore::IUIElement::Size::get'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'System::Windows::Forms::Control::Size::get'
4> This diagnostic occurred while importing type 'ActiproSoftware::WinUICore::UIControl ' from assembly 'ActiproSoftware.WinUICore.Net20, Version=1.0.80.0, Culture=neutral, PublicKeyToken=1eba893a2bc55de5'.
4> This diagnostic occurred while importing type 'ActiproSoftware::SyntaxEditor::SyntaxEditor ' from assembly 'ActiproSoftware.SyntaxEditor.Net20, Version=3.1.210.0, Culture=neutral, PublicKeyToken=0ecd8d0e8818ec9b'.
4> This diagnostic occurred while importing type 'SomeNamespace::UIControls::DotNetFormulaBox ' from assembly 'someproductman80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'.
4>c:\somepath\imports\actipro\common\actiprosoftware.winuicore.net20.dll : warning C4374: 'bool ActiproSoftware::WinUICore::IUIControl::Capture::get(void)': interface method will not be implemented by non-virtual method 'bool System::Windows::Forms::Control::Capture::get(void)'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'ActiproSoftware::WinUICore::IUIControl::Capture::get'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'System::Windows::Forms::Control::Capture::get'
4> This diagnostic occurred while importing type 'ActiproSoftware::WinUICore::UIControl ' from assembly 'ActiproSoftware.WinUICore.Net20, Version=1.0.80.0, Culture=neutral, PublicKeyToken=1eba893a2bc55de5'.
4> This diagnostic occurred while importing type 'ActiproSoftware::SyntaxEditor::SyntaxEditor ' from assembly 'ActiproSoftware.SyntaxEditor.Net20, Version=3.1.210.0, Culture=neutral, PublicKeyToken=0ecd8d0e8818ec9b'.
4> This diagnostic occurred while importing type 'SomeNamespace::UIControls::DotNetFormulaBox ' from assembly 'someproductman80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'.
4>c:\somepath\imports\actipro\common\actiprosoftware.winuicore.net20.dll : warning C4374: 'void ActiproSoftware::WinUICore::IUIControl::Capture::set(bool)': interface method will not be implemented by non-virtual method 'void System::Windows::Forms::Control::Capture::set(bool)'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'ActiproSoftware::WinUICore::IUIControl::Capture::set'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'System::Windows::Forms::Control::Capture::set'
4> This diagnostic occurred while importing type 'ActiproSoftware::WinUICore::UIControl ' from assembly 'ActiproSoftware.WinUICore.Net20, Version=1.0.80.0, Culture=neutral, PublicKeyToken=1eba893a2bc55de5'.
4> This diagnostic occurred while importing type 'ActiproSoftware::SyntaxEditor::SyntaxEditor ' from assembly 'ActiproSoftware.SyntaxEditor.Net20, Version=3.1.210.0, Culture=neutral, PublicKeyToken=0ecd8d0e8818ec9b'.
4> This diagnostic occurred while importing type 'SomeNamespace::UIControls::DotNetFormulaBox ' from assembly 'someproductman80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'.
4>Linking...
4> Creating library Debug\someproductmix80.lib and object Debug\someproductmix80.exp
As warning indicated, the warning occured during importing the type from Actipro Syntax editor. Could anybody give me some ideas to get rid of these warning?
Thanks in advence.
I am using SyntaxEditor v3.1.0210 with .NET 2.0, VS 2005 and Windows XP now.
After I imported syntax editor to a managed c++ project, I get the following error:
4>Compiling...
4>DotNetFormulaBoxUtils.cpp
4>c:\somepath\imports\actipro\common\actiprosoftware.shared.net20.dll : warning C4945: 'DotfuscatorAttribute' : cannot import symbol from 'c:\somepath\imports\actipro\common\actiprosoftware.shared.net20.dll': as 'DotfuscatorAttribute' has already been imported from another assembly 'ActiproSoftware.SyntaxEditor.Net20'
4> c:\somepath\imports\actipro\syntaxeditor\actiprosoftware.syntaxeditor.net20.dll : see declaration of 'DotfuscatorAttribute'
4> first seen type is used; re-order imported assemblies to use the current type
4> This diagnostic occurred while importing type '.DotfuscatorAttribute' from assembly 'ActiproSoftware.Shared.Net20, Version=1.0.80.0, Culture=neutral, PublicKeyToken=36ff2196ab5654b9'.
4>c:\somepath\imports\actipro\common\actiprosoftware.winuicore.net20.dll : warning C4945: 'DotfuscatorAttribute' : cannot import symbol from 'c:\somepath\imports\actipro\common\actiprosoftware.winuicore.net20.dll': as 'DotfuscatorAttribute' has already been imported from another assembly 'ActiproSoftware.SyntaxEditor.Net20'
4> c:\somepath\imports\actipro\syntaxeditor\actiprosoftware.syntaxeditor.net20.dll : see declaration of 'DotfuscatorAttribute'
4> first seen type is used; re-order imported assemblies to use the current type
4> This diagnostic occurred while importing type '.DotfuscatorAttribute' from assembly 'ActiproSoftware.WinUICore.Net20, Version=1.0.80.0, Culture=neutral, PublicKeyToken=1eba893a2bc55de5'.
4>c:\somepath\imports\actipro\common\actiprosoftware.winuicore.net20.dll : warning C4374: 'System::Drawing::Size ActiproSoftware::WinUICore::IUIElement::Size::get(void)': interface method will not be implemented by non-virtual method 'System::Drawing::Size System::Windows::Forms::Control::Size::get(void)'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'ActiproSoftware::WinUICore::IUIElement::Size::get'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'System::Windows::Forms::Control::Size::get'
4> This diagnostic occurred while importing type 'ActiproSoftware::WinUICore::UIControl ' from assembly 'ActiproSoftware.WinUICore.Net20, Version=1.0.80.0, Culture=neutral, PublicKeyToken=1eba893a2bc55de5'.
4> This diagnostic occurred while importing type 'ActiproSoftware::SyntaxEditor::SyntaxEditor ' from assembly 'ActiproSoftware.SyntaxEditor.Net20, Version=3.1.210.0, Culture=neutral, PublicKeyToken=0ecd8d0e8818ec9b'.
4> This diagnostic occurred while importing type 'SomeNamespace::UIControls::DotNetFormulaBox ' from assembly 'someproductman80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'.
4>c:\somepath\imports\actipro\common\actiprosoftware.winuicore.net20.dll : warning C4374: 'bool ActiproSoftware::WinUICore::IUIControl::Capture::get(void)': interface method will not be implemented by non-virtual method 'bool System::Windows::Forms::Control::Capture::get(void)'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'ActiproSoftware::WinUICore::IUIControl::Capture::get'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'System::Windows::Forms::Control::Capture::get'
4> This diagnostic occurred while importing type 'ActiproSoftware::WinUICore::UIControl ' from assembly 'ActiproSoftware.WinUICore.Net20, Version=1.0.80.0, Culture=neutral, PublicKeyToken=1eba893a2bc55de5'.
4> This diagnostic occurred while importing type 'ActiproSoftware::SyntaxEditor::SyntaxEditor ' from assembly 'ActiproSoftware.SyntaxEditor.Net20, Version=3.1.210.0, Culture=neutral, PublicKeyToken=0ecd8d0e8818ec9b'.
4> This diagnostic occurred while importing type 'SomeNamespace::UIControls::DotNetFormulaBox ' from assembly 'someproductman80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'.
4>c:\somepath\imports\actipro\common\actiprosoftware.winuicore.net20.dll : warning C4374: 'void ActiproSoftware::WinUICore::IUIControl::Capture::set(bool)': interface method will not be implemented by non-virtual method 'void System::Windows::Forms::Control::Capture::set(bool)'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'ActiproSoftware::WinUICore::IUIControl::Capture::set'
4> .\DotNetFormulaBoxUtils.cpp(47) : see declaration of 'System::Windows::Forms::Control::Capture::set'
4> This diagnostic occurred while importing type 'ActiproSoftware::WinUICore::UIControl ' from assembly 'ActiproSoftware.WinUICore.Net20, Version=1.0.80.0, Culture=neutral, PublicKeyToken=1eba893a2bc55de5'.
4> This diagnostic occurred while importing type 'ActiproSoftware::SyntaxEditor::SyntaxEditor ' from assembly 'ActiproSoftware.SyntaxEditor.Net20, Version=3.1.210.0, Culture=neutral, PublicKeyToken=0ecd8d0e8818ec9b'.
4> This diagnostic occurred while importing type 'SomeNamespace::UIControls::DotNetFormulaBox ' from assembly 'someproductman80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'.
4>Linking...
4> Creating library Debug\someproductmix80.lib and object Debug\someproductmix80.exp
As warning indicated, the warning occured during importing the type from Actipro Syntax editor. Could anybody give me some ideas to get rid of these warning?
Thanks in advence.