E
EdisonCPP
I added an IP Address Control I found online.
I get hundreds of warnings when I compile it now:
c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll
: warning C4945: 'ResXFileRef' : cannot import symbol from
'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll':
as 'System::Resources::ResXFileRef' has already been imported from another
assembly 'System.Windows.Forms'
c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll
: see declaration of 'System::Resources::ResXFileRef'
first seen type is used; re-order imported assemblies to use the
current type
This diagnostic occurred while importing type
'System.Resources.ResXFileRef' from assembly 'System.Windows.Forms,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
The above is for one symbmol, I get MANY of these for other symbols.
Any idea on how to get rid of these warnings... there are so many, it
actually takes
my project 3-4 times as long to compile.
To me it seems like it's trying to get framework references from the new
control instead of the default libraries, then
finding them again in the default libraries???? Or is it somehow getting
double defs from Framework 1.0 and 2.0?
I have the C# code for the control, and compiled it with VS2005. Using it
in managed C++ project.
Thanks,
Steven
I get hundreds of warnings when I compile it now:
c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll
: warning C4945: 'ResXFileRef' : cannot import symbol from
'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll':
as 'System::Resources::ResXFileRef' has already been imported from another
assembly 'System.Windows.Forms'
c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll
: see declaration of 'System::Resources::ResXFileRef'
first seen type is used; re-order imported assemblies to use the
current type
This diagnostic occurred while importing type
'System.Resources.ResXFileRef' from assembly 'System.Windows.Forms,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
The above is for one symbmol, I get MANY of these for other symbols.
Any idea on how to get rid of these warnings... there are so many, it
actually takes
my project 3-4 times as long to compile.
To me it seems like it's trying to get framework references from the new
control instead of the default libraries, then
finding them again in the default libraries???? Or is it somehow getting
double defs from Framework 1.0 and 2.0?
I have the C# code for the control, and compiled it with VS2005. Using it
in managed C++ project.
Thanks,
Steven