2 Replies Latest reply on May 27, 2014 12:07 PM by Mike Easterbrook

    arcFM Automated Orphaned Versions Cleanup Tool compilation issue

    Mike Easterbrook

      Hello,

       

      I am new to arcFM and am attempting to compile the Automated Cleanup tool for Orphaned Versions, see here for more information: http://resources.arcfmsolution.com/10.1/DesktopSDK/AutomatedCleanup.html

       

      I have followed the instructions, and made sure to install the dotnet assemblies included within the arcFM downloader. However, when compiling with MSBUILD I am continually receiving BUILD FAILED. I will paste the log from MSBUILD below, any help would be greatly appreciated!

       

      c:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild c:\Automated\AutomatedCleanup.csproj /t:build

       

      Microsoft (R) Build Engine version 4.0.30319.18408
      [Microsoft .NET Framework, version 4.0.30319.18444]
      Copyright (C) Microsoft Corporation. All rights reserved.

      Build started 2014-05-27 1:16:01 PM.
      Project "c:\Automated\AutomatedCleanup.csproj" on node 1 (build target(s)).
      ResolveAssemblyReferences:
        Primary reference "Miner.Interop.Framework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86".
      C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Miner.Interop.Framework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [c:\Automated\AutomatedCleanup.csproj]
                For SearchPath "{TargetFrameworkDirectory}".
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Framework.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Framework.dll", but its name "Miner.Interop.Framework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Framework.exe", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.5\Miner.Interop.Framework.winmd", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.5\Miner.Interop.Framework.dll", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.5\Miner.Interop.Framework.exe", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Miner.Interop.Framework.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Miner.Interop.Framework.dll", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Miner.Interop.Framework.exe", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.0\Miner.Interop.Framework.winmd", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.0\Miner.Interop.Framework.dll", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.0\Miner.Interop.Framework.exe", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Miner.Interop.Framework.winmd", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Miner.Interop.Framework.dll", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Miner.Interop.Framework.exe", but it didn't exist.
                For SearchPath "{Registry:Software\Microsoft\.NETFramework,v3.5,AssemblyFoldersEx}".
                Considered AssemblyFoldersEx locations.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.Framework.dll", but its name "Miner.Interop.Framework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                For SearchPath "{AssemblyFolders}".
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Framework.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Framework.dll", but its name "Miner.Interop.Framework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Framework.exe", but it didn't exist.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.Framework.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.Framework.dll", but its name "Miner.Interop.Framework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.Framework.exe", but it didn't exist.
                For SearchPath "{GAC}".
                Considered "Miner.Interop.Framework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86", which was not found in the GAC.
                For SearchPath "{RawFileName}".
                Considered treating "Miner.Interop.Framework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86" as a file name, but it didn't exist.
                For SearchPath "bin\Debug\".
                Considered "bin\Debug\Miner.Interop.Framework.winmd", but it didn't exist.
                Considered "bin\Debug\Miner.Interop.Framework.dll", but it didn't exist.
                Considered "bin\Debug\Miner.Interop.Framework.exe", but it didn't exist.
        Primary reference "Miner.Interop.Process, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86".
      C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Miner.Interop.Process, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [c:\Automated\AutomatedCleanup.csproj]
                For SearchPath "{TargetFrameworkDirectory}".
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Process.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Process.dll", but its name "Miner.Interop.Process, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Process.exe", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.5\Miner.Interop.Process.winmd", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.5\Miner.Interop.Process.dll", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.5\Miner.Interop.Process.exe", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Miner.Interop.Process.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Miner.Interop.Process.dll", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Miner.Interop.Process.exe", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.0\Miner.Interop.Process.winmd", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.0\Miner.Interop.Process.dll", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.0\Miner.Interop.Process.exe", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Miner.Interop.Process.winmd", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Miner.Interop.Process.dll", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Miner.Interop.Process.exe", but it didn't exist.
                For SearchPath "{Registry:Software\Microsoft\.NETFramework,v3.5,AssemblyFoldersEx}".
                Considered AssemblyFoldersEx locations.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.Process.dll", but its name "Miner.Interop.Process, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                For SearchPath "{AssemblyFolders}".
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Process.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Process.dll", but its name "Miner.Interop.Process, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.Process.exe", but it didn't exist.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.Process.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.Process.dll", but its name "Miner.Interop.Process, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.Process.exe", but it didn't exist.
                For SearchPath "{GAC}".
                Considered "Miner.Interop.Process, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86", which was not found in the GAC.
                For SearchPath "{RawFileName}".
                Considered treating "Miner.Interop.Process, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86" as a file name, but it didn't exist.
                For SearchPath "bin\Debug\".
                Considered "bin\Debug\Miner.Interop.Process.winmd", but it didn't exist.
                Considered "bin\Debug\Miner.Interop.Process.dll", but it didn't exist.
                Considered "bin\Debug\Miner.Interop.Process.exe", but it didn't exist.
        Primary reference "Miner.Interop.System, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86".
      C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Miner.Interop.System, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [c:\Automated\AutomatedCleanup.csproj]
                For SearchPath "{TargetFrameworkDirectory}".
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.System.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.System.dll", but its name "Miner.Interop.System, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.System.exe", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.5\Miner.Interop.System.winmd", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.5\Miner.Interop.System.dll", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.5\Miner.Interop.System.exe", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Miner.Interop.System.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Miner.Interop.System.dll", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Miner.Interop.System.exe", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.0\Miner.Interop.System.winmd", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.0\Miner.Interop.System.dll", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v3.0\Miner.Interop.System.exe", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Miner.Interop.System.winmd", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Miner.Interop.System.dll", but it didn't exist.
                Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Miner.Interop.System.exe", but it didn't exist.
                For SearchPath "{Registry:Software\Microsoft\.NETFramework,v3.5,AssemblyFoldersEx}".
                Considered AssemblyFoldersEx locations.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.System.dll", but its name "Miner.Interop.System, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                For SearchPath "{AssemblyFolders}".
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.System.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.System.dll", but its name "Miner.Interop.System, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Miner.Interop.System.exe", but it didn't exist.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.System.winmd", but it didn't exist.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.System.dll", but its name "Miner.Interop.System, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc" didn't match.
                Considered "C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\Miner.Interop.System.exe", but it didn't exist.
                For SearchPath "{GAC}".
                Considered "Miner.Interop.System, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86", which was not found in the GAC.
                For SearchPath "{RawFileName}".
                Considered treating "Miner.Interop.System, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86" as a file name, but it didn't exist.
                For SearchPath "bin\Debug\".
                Considered "bin\Debug\Miner.Interop.System.winmd", but it didn't exist.
                Considered "bin\Debug\Miner.Interop.System.dll", but it didn't exist.
                Considered "bin\Debug\Miner.Interop.System.exe", but it didn't exist.
        AssemblyFoldersEx location: "{Registry:Software\Microsoft\.NETFramework,v3.5,AssemblyFoldersEx}"
                C:\Program Files (x86)\Miner and Miner\ArcFM Solution\DotNet\Assemblies\v10.1.0.0\
      CoreCompile:
        C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentropyva- /reference:C:\Windows\assembly\GAC\adodb\7.0.3300.0__b03f5f7f11d50a3a\adodb.dll /reference:C:\Windows\assembly\GAC_MSIL\ESRI.ArcGIS.DataSourcesGDB\10.1.0.0__8fc3cc631e44ad86\ESRI.ArcGIS.DataSourcesGDB.dll /reference:C:\Windows\assembly\GAC_MSIL\ESRI.ArcGIS.Geodatabase\10.1.0.0__8fc3cc631e44ad86\ESRI.ArcGIS.Geodatabase.dll /reference:C:\Windows\assembly\GAC_MSIL\ESRI.ArcGIS.System\10.1.0.0__8fc3cc631e44ad86\ESRI.ArcGIS.System.dll /reference:C:\Windows\assembly\GAC_MSIL\ESRI.ArcGIS.Version\10.1.0.0__8fc3cc631e44ad86\ESRI.ArcGIS.Version.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\AutomatedCleanup.exe /target:exe /utf8output CleanUp.cs LicenseInitializer.cs LicenseInitializer.Designer.cs Program.cs Properties\AssemblyInfo.cs
      CleanUp.cs(8,13): error CS0234: The type or namespace name 'Interop' does not exist in the namespace 'Miner' (are you missing an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
      CleanUp.cs(9,13): error CS0234: The type or namespace name 'Interop' does not exist in the namespace 'Miner' (are you missing an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
      CleanUp.cs(23,21): error CS0246: The type or namespace name 'IMMMessageCallback' could not be found (are you missing a using directive or an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
      Program.cs(2,13): error CS0234: The type or namespace name 'Interop' does not exist in the namespace 'Miner' (are you missing an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
      CleanUp.cs(177,50): error CS0246: The type or namespace name 'mmUserMessageType' could not be found (are you missing a using directive or an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
      Program.cs(9,24): error CS0246: The type or namespace name 'IMMAppInitialize' could not be found (are you missing a using directive or an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
      Program.cs(38,61): error CS0246: The type or namespace name 'mmLicensedProductCode' could not be found (are you missing a using directive or an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
      Program.cs(38,24): error CS0246: The type or namespace name 'mmLicenseStatus' could not be found (are you missing a using directive or an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
      Done Building Project "c:\Automated\AutomatedCleanup.csproj" (build target(s)) -- FAILED.

      Build FAILED.

      "c:\Automated\AutomatedCleanup.csproj" (build target) (1) ->
      (ResolveAssemblyReferences target) ->
        C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Miner.Interop.Framework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [c:\Automated\AutomatedCleanup.csproj]
        C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Miner.Interop.Process, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [c:\Automated\AutomatedCleanup.csproj]
        C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Miner.Interop.System, Version=10.0.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc, processorArchitecture=x86". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [c:\Automated\AutomatedCleanup.csproj]


      "c:\Automated\AutomatedCleanup.csproj" (build target) (1) ->
      (CoreCompile target) ->
        CleanUp.cs(8,13): error CS0234: The type or namespace name 'Interop' does not exist in the namespace 'Miner' (are you missing an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
        CleanUp.cs(9,13): error CS0234: The type or namespace name 'Interop' does not exist in the namespace 'Miner' (are you missing an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
        CleanUp.cs(23,21): error CS0246: The type or namespace name 'IMMMessageCallback' could not be found (are you missing a using directive or an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
        Program.cs(2,13): error CS0234: The type or namespace name 'Interop' does not exist in the namespace 'Miner' (are you missing an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
        CleanUp.cs(177,50): error CS0246: The type or namespace name 'mmUserMessageType' could not be found (are you missing a using directive or an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
        Program.cs(9,24): error CS0246: The type or namespace name 'IMMAppInitialize' could not be found (are you missing a using directive or an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
        Program.cs(38,61): error CS0246: The type or namespace name 'mmLicensedProductCode' could not be found (are you missing a using directive or an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]
        Program.cs(38,24): error CS0246: The type or namespace name 'mmLicenseStatus' could not be found (are you missing a using directive or an assembly reference?) [c:\Automated\AutomatedCleanup.csproj]

          3 Warning(s)
          8 Error(s)

      Time Elapsed 00:00:00.25