I was given an ArcGIS 9.3.1 extension built in Visual Studio (VS) that needs to be updated to work in ArcGIS 10. When I open the VS project on my computer (that has ArcGIS 10 installed on it) I get a few library reference errors. I attempted to remove the references then add them back in thinking that would resolve the error, however the errors are still present. Why are these references not being viewed by VS? Here are the errors:
I changed the Target .NET Framework from 2.0 to 3.5 and added in the missing file and assemblies via the MSSetup>Primary output from HT.MSExtension(Active). This removed all the errors except error 4. Do I need to re-source ESRI.ArcGIS.ADF.dll to ESRI.ArcGIS.ADF.Local.dll?
I updated ADF to ADF.Local, however I'm still getting error 4. Any ideas?
Error 2 Unable to find source file 'C:\1_Projects\MS\Source\MS_ArcGIS-Extension\MSSetup\stdole.dll' for assembly 'stdole.dll', located in '[TARGETDIR]' C:\1_Projects\MS\Source\MS_ArcGIS-Extension\MSSetup\MSSetup.vdproj MSSetup
Error 1 Unable to find source file 'C:\1_Projects\MS\Source\MS_ArcGIS-Extension\MSSetup\ESRI.ArcGIS.Editor.dll' for assembly 'ESRI.ArcGIS.Editor.dll', located in '[TARGETDIR]' C:\1_Projects\MS\Source\MS_ArcGIS-Extension\MSSetup\MSSetup.vdproj MSSetup
Error 4 Could not load file or assembly 'file:///C:/Program Files (x86)/ArcGIS/DeveloperKit10.0/DotNet/ESRI.ArcGIS.ADF.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. Line 195, position 5. C:\1_Projects\MS\Source\MS_ArcGIS-Extension\HT.MSExtension\Forms\msManager.resx 195 5 HT.MSExtension
Error 3 Unable to find source file 'C:\1_Projects\MS\Source\MS_ArcGIS-Extension\MS.mxd' for file MS.mxd', located in '[TARGETDIR]', the file may be absent or locked. C:\1_Projects\MS\Source\MS_ArcGIS-Extension\MSSetup\MSSetup.vdproj MSSetup