Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
CurrentCVS
-
None
-
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"