My colleague and I have developed a custom tool (now it is a couple of .dll files) that is supposed to be integrated into an ArcGIS Server web mapping application later. Originally, the tool was developed in MS Visual Studio 2008 with ArcGIS Server Web ADF 9.3.1 installed. Thus, the solution referenced Web ADF .dll files of the 9.3.1 release. However, the need to make a tool work with ArcGIS Server 9.3 platform appeared recently. I recommend using a great utility from ESRI – patchfinder93.exe – that can tell us what ESRI products/versions were installed on the machine. This way, the task was basically to update all the references to the libraries of the Web ADF 9.3.1 version in the Visual Studio solution so that they will refer to the libraries of the Web ADF 9.3 version instead.
The steps that were required to carry this out are detailed below:
- Right-click the solution name in Solution Explorer > Clean.
- Expand the References folder in Solution Explorer window. Remove references that are marked with a yellow sign.
- Right-click References > Add reference in Solution Explorer. Go to the Browse tab and then select in the <ArcGIS Installation folder>/Dotnet folder Web ADF .dll files of the references that were broken.
- Right-click the solution name in Solution Explorer > Build. This will create in the <solution name>/bin/debug folder new.dll files of a custom tool we’ve been working on.
- Replace those .dll files that are being referenced by an ArcGIS Server Web mapping application project with those ones you have just built. You can do that in Windows explorer, but, personally, I prefer to use Far Manager.
- This is it. Now it is possible to start a web application in a debugging mode in order to test that .dll files of the custom tool were compiled correctly.