Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-710

MS-Studio 2008 Debug Build sends Xalan-C_1D.lib to wrong directory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: CurrentCVS
    • Fix Version/s: CurrentCVS
    • Component/s: XalanC
    • Labels:
      None
    • Environment:
      Microsoft Visual Studio 2008

      Description

      The target files "Xalan-C_1D.lib" and "Xalan-C_1D.exp" are sent to the wrong build directory when performing a debug build of Xalan.sln with MS Studio 2008.

      The fix requires a change to the specific AllInOne.vcproj file.

      File: Projects/Win32/VC9/AllInOne/AllInOne.vcproj

      The linker files Xalan-C_1D.lib and Xalan-C_1D.exp is sent to the $(ProjectDir) instead of the $(TargetDir).

      The "ImportLibrary" attribute in file AllInOne.vcproj for the "Debug" build needs to be changed. The AllInOneWithICU.vcproj is good.

      <Tool
      Name="VCLinkerTool"
      ImportLibrary="$(TargetDir)\Xalan-C_1D.lib"
      ...
      </Tool>

      The above ImportLibrary attribute edit to the AllInOne.vcproj can be accomplished from within Microsoft Visual Studio 2008 by doing the following:

      Startup the Visual Studio 2008 using the solution file:
      Projects/Win32/VC9/Xalan.sln

      Select the Property Pages for the "AllInOne" Project.

      Select: Configuration Properties -> Linker ->Advanced -> Import Library
      and change the value to "$(TargetDir)\Xalan-C_1D.lib"

        Attachments

        1. my-jira-710.diff
          0.5 kB
          Steven J. Hathaway

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              shathaway Steven J. Hathaway
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: