Solution Build Problem - Warning CS0436

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
*sigh*  Im running VS2005/SP1 Team Suite on Vista Ultimate RTM.
For the last year Ive been working on a solution with four componenets. Some are newer than others of course. The Build process has been stable until today and suddenly there have been behavioral changes.
The components are:
KnowledgeNavigator.exe - VB
RenderedTabControl.Dll - VB
ExtendedWebBrowser2.dll - C#
Setup.Exe 
Today while I was doing very routine and unremarkable things, the build process which used to be clean (except for the JRO warning since vista) now looks like this: <font size=1>
------ Build started: Project: TabControl, Configuration: Release Any CPU ------
TabControl -> G:aVb2005ProjectCodeKnowledgeNavigatorTabControlbinReleaseRenderedTabControl.dll
------ Starting pre-build validation for project Setup ------
WARNING: Unable to find dependency INTEROP.ADODB (Signature=(null) Version=6.0.0.0) of assembly Interop.JRO.DLL
------ Pre-build validation for project Setup completed ------
------ Build started: Project: Setup, Configuration: Release ------
Building file G:aVb2005ProjectCodeKnowledgeNavigatorsetupSetupReleaseKnowledgeNavigatorInstall.msi...
Packaging file NgenKnowledgeNavigator.bat...
Packaging file KnowledgeNavigator.exe.config...
Packaging file Microsoft.mshtml.dll...
Packaging file ReleaseNotes.Text...
Packaging file Interop.ADOX.DLL...
Packaging file Knowl.ico...
Packaging file Interop.ADODB.DLL...
Packaging file Interop.JRO.DLL...
Packaging file Interop.Scripting.DLL...
Packaging file EULA.rtf...
Packaging file Moderation.mdb...
Packaging file KnowledgeNavigator.chm...
Packaging file Template.DataBase...
Packaging file ExtendedWebBrowser2.DLL...
Packaging file RenderedTabControl.DLL...
Packaging file KnowledgeNavigator.exe...
------ Build started: Project: KnowledgeNavigator, Configuration: Release Any CPU ------
C:WindowsMicrosoft.NETFrameworkv2.0.50727Vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /platform:x86 /rootnamespace:KyraSoft /doc:objReleaseKnowledgeNavigator.xml /define:"CONFIG="Release",TRACE=-1,_MyType="WindowsForms",PLATFORM="AnyCPU"" /reference:WbExtendedbinReleaseExtendedWebBrowser2.dll,G:aVb2005ProjectCodeKnowledgeNavigatorTabControlbinReleaseRenderedTabControl.dll,C:WindowsMicrosoft.NETFrameworkv2.0.50727System.Data.dll,C:WindowsMicrosoft.NETFrameworkv2.0.50727System.dll,C:WindowsMicrosoft.NETFrameworkv2.0.50727System.Drawing.dll,C:WindowsMicrosoft.NETFrameworkv2.0.50727System.Windows.Forms.dll,C:WindowsMicrosoft.NETFrameworkv2.0.50727System.Xml.dll,C:WindowsassemblyGACMicrosoft.mshtml7.0.3300.0__b03f5f7f11d50a3aMicrosoft.mshtml.dll,objReleaseInterop.ADODB.dll,objReleaseInterop.ADOX.dll,objReleaseInterop.JRO.dll,objReleaseInterop.Scripting.dll,objReleaseInterop.WMPLib.dll,objReleaseAxInterop.WMPLib.dll /main:KyraSoft.My.MyApplication /debug:pdbonly /optimize+ /out:objReleaseKnowledgeNavigator.exe /resource:objReleaseKyraSoft.DlgCpyProperties.resources /resource:objReleaseKyraSoft.Form1.resources /resource:objReleaseKyraSoft.FrmDBI.resources /resource:objReleaseKyraSoft.FrmAbout.resources /resource:objReleaseKyraSoft.FrmOptions.resources /resource:objReleaseKyraSoft.Resources.resources /resource:objReleaseKyraSoft.DocViewAndProperties.resources /target:winexe /win32icon:Knowl.ico ADONET.vb ADOX.vb ApplicationEvents.vb Common.vb CpyManagement.vb DlgCpyProperties.Designer.vb DlgCpyProperties.vb Form1.vb Form1.Designer.vb FrmDBI.Designer.vb FrmDBI.vb FrmAbout.designer.vb FrmAbout.vb FrmOptions.designer.vb FrmOptions.vb IOSUB.vb "My ProjectAssemblyInfo.vb" "My ProjectApplication.Designer.vb" "My ProjectResources.Designer.vb" "My ProjectSettings.Designer.vb" Search.vb Settings.vb SupportClasses.vb DocViewAndProperties.Designer.vb DocViewAndProperties.vb
KnowledgeNavigator -> G:aVb2005ProjectCodeKnowledgeNavigatorbinReleaseKnowledgeNavigator.exe
------ Build started: Project: WbExtended, Configuration: Release Any CPU ------
C:WindowsMicrosoft.NETFrameworkv2.0.50727Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:TRACE /reference:binReleaseExtendedWebBrowser2.dll /reference:C:WindowsMicrosoft.NETFrameworkv2.0.50727System.Data.dll /reference:C:WindowsMicrosoft.NETFrameworkv2.0.50727System.dll /reference:C:WindowsMicrosoft.NETFrameworkv2.0.50727System.Drawing.dll /reference:C:WindowsMicrosoft.NETFrameworkv2.0.50727System.Windows.Forms.dll /reference:C:WindowsMicrosoft.NETFrameworkv2.0.50727System.Xml.dll /debug:pdbonly /optimize+ /out:objReleaseExtendedWebBrowser2.dll /target:library /win32icon:iexplore.ico BrowserExtendedNavigatingEventArgs.cs ExtendedWebBrowser.cs NativeMethods.cs PropertiesAssemblyInfo.cs UnsafeNativeMethods.cs UrlContext.cs
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(33,13): warning CS0436: The type ExtendedWebBrowser2.UrlContext in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs conflicts with the imported type ExtendedWebBrowser2.UrlContext in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs(10,15): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(38,12): warning CS0436: The type ExtendedWebBrowser2.UrlContext in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs conflicts with the imported type ExtendedWebBrowser2.UrlContext in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs(10,15): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(60,89): warning CS0436: The type ExtendedWebBrowser2.UrlContext in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs conflicts with the imported type ExtendedWebBrowser2.UrlContext in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs(10,15): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(160,7): warning CS0436: The type ExtendedWebBrowser2.ExtendedWebBrowser in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs conflicts with the imported type ExtendedWebBrowser2.ExtendedWebBrowser in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(16,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(161,39): warning CS0436: The type ExtendedWebBrowser2.ExtendedWebBrowser in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs conflicts with the imported type ExtendedWebBrowser2.ExtendedWebBrowser in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(16,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(120,31): warning CS0436: The type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs conflicts with the imported type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(11,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(124,31): warning CS0436: The type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs conflicts with the imported type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(11,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(130,34): warning CS0436: The type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs conflicts with the imported type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(11,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(144,33): warning CS0436: The type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs conflicts with the imported type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(11,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(174,9): warning CS0436: The type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs conflicts with the imported type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(11,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(174,55): warning CS0436: The type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs conflicts with the imported type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(11,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(174,113): warning CS0436: The type ExtendedWebBrowser2.UrlContext in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs conflicts with the imported type ExtendedWebBrowser2.UrlContext in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs(10,15): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(184,9): warning CS0436: The type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs conflicts with the imported type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(11,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(184,55): warning CS0436: The type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs conflicts with the imported type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(11,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(184,109): warning CS0436: The type ExtendedWebBrowser2.UrlContext in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs conflicts with the imported type ExtendedWebBrowser2.UrlContext in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs(10,15): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(193,9): warning CS0436: The type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs conflicts with the imported type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(11,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(193,55): warning CS0436: The type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs conflicts with the imported type ExtendedWebBrowser2.BrowserExtendedNavigatingEventArgs in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedBrowserExtendedNavigatingEventArgs.cs(11,16): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedExtendedWebBrowser.cs(193,123): warning CS0436: The type ExtendedWebBrowser2.UrlContext in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs conflicts with the imported type ExtendedWebBrowser2.UrlContext in g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll. Using the one in G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs.
G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedUrlContext.cs(10,15): (Related location)
g:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll: (Related file)
Compile complete -- 0 errors, 18 warnings
WbExtended -> G:aVb2005ProjectCodeKnowledgeNavigatorWbExtendedbinReleaseExtendedWebBrowser2.dll
========== Build: 4 succeeded or up-to-date, 0 failed, 0 skipped ========== </font>
These warnings are new as of today. The project still works as I am using it to type this but those errors are an area of concern.
To be honest, the error message doesnt make sense to me. As I understand it, its indicating that there is a type difference between the source and an output file. How can that be if the output file is the product of the source file? But there is something else I dont understand. It appears to me that the build order is broken. It looks as setup occurrs before other things.
I dont see anything in the IDE to change build order.
Any suggestion on what this error means would be appreciated.
Renee
 
 
 

View the full article
 
Back
Top