SxS problems with identical projects apart from ProjectGUID

I have a project that is not locating msvcr80d.dll and another identical project (.vcproj identical) apart from the ProjectGUID attribute that DOES find msvcr80d.dll in the SxS directory. I use depends.exe to load the executable and see the error. Both exe files are in the same directory. The one that works lists the location of the dll as being in the WinSxS directory structure.

Appended is the project file that does not work.

The one that does work only differs by these lines:

Name="rob_run"
ProjectGUID="{9FBE5580-6B63-43DF-8544-73C04FC8A844}"
RootNamespace="rob_run"

Does anybody know how the GUID can effect this behaviour

The project is a simple Windows application that starts off as an empty project. But every setting seems moot when the 2 projects are identical apart from GUID.

regards

Rob Goodridge

Complete project file that does not find MSVCR80D.DLL:

< xml version="1.0" encoding="Windows-1252" >
<VisualStudioProject
ProjectType="Visual C++"
Version="8.00"
Name="x_run"
ProjectGUID="{29A0B47E-D756-4294-AE14-8929E847BD0A}"
RootNamespace="x_run"
Keyword="Win32Proj"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
InheritedPropertySheets="..\lansax.vsprops;..\debug.vsprops"
CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/EXPORT:X_RUN_CONNECT&#x0D;&#x0A;/EXPORT:X_RUN_CONNECT_EX&#x0D;&#x0A;/EXPORT:X_RUN_EXECUTE&#x0D;&#x0A;/EXPORT:X_RUN_DISCONNECT&#x0D;&#x0A;/EXPORT:X_RUN_WEBCONNECT&#x0D;&#x0A;/EXPORT:X_RUN_WEBDISCONNECT"
AdditionalDependencies="x_funms.lib x_bifms.lib x_pimms.lib x_pdfms.lib x_comms.lib x_xqlms.lib"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
Description="Extract manifest from final exe image to confirm as necessary"
CommandLine="del &quot;$(IntDir)\$(TargetFileName).extracted.manifest&quot; &gt;nul 2&gt;&amp;1&#x0D;&#x0A;mt -inputresource:&quot;$(TargetPath)&quot;;#1 -out:&quot;$(IntDir)\$(TargetFileName).extracted.manifest&quot;&#x0D;&#x0A;"
/>
</Configuration>
<Configuration
Name="Release|Win32"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
InheritedPropertySheets="..\lansax.vsprops"
CharacterSet="0"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="pushd ..&#x0D;&#x0A;set BLDDRV=$(SolutionDir)..\x_win95&#x0D;&#x0A;set TOSDRV=$(SolutionDir)..&#x0D;&#x0A;for %%i in (x_fun x_pdf x_xql x_com x_bif x_uim) do call msvclib %%i&#x0D;&#x0A;for %%i in (x_var x_dbg) do lib /MACHINE:IX86 /NOLOGO /DEF:$(SolutionDir)..\lp\src\%%i.def /OUT:$(TargetDir)%%i.lib&#x0D;&#x0A;popd&#x0D;&#x0A;"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/EXPORT:X_RUN_CONNECT&#x0D;&#x0A;/EXPORT:X_RUN_CONNECT_EX&#x0D;&#x0A;/EXPORT:X_RUN_EXECUTE&#x0D;&#x0A;/EXPORT:X_RUN_DISCONNECT&#x0D;&#x0A;/EXPORT:X_RUN_WEBCONNECT&#x0D;&#x0A;/EXPORT:X_RUN_WEBDISCONNECT"
AdditionalDependencies="x_funms.lib x_bifms.lib x_pimms.lib x_pdfms.lib x_comms.lib x_xqlms.lib"
LinkIncremental="1"
AdditionalLibraryDirectories="$(OutDir)"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
Description="Extract manifest from final exe image to confirm as necessary"
CommandLine="del &quot;$(IntDir)\$(TargetFileName).extracted.manifest&quot; &gt;nul 2&gt;&amp;1&#x0D;&#x0A;mt -inputresource:&quot;$(TargetPath)&quot;;#1 -out:&quot;$(IntDir)\$(TargetFileName).extracted.manifest&quot;&#x0D;&#x0A;"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\crypt.c"
>
</File>
<File
RelativePath="..\x_oid2.c"
>
</File>
<File
RelativePath="..\x_pdf5.c"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\x_ctypes.h"
>
</File>
<File
RelativePath="..\x_endpck.h"
>
</File>
<File
RelativePath="..\x_ftypes.h"
>
</File>
<File
RelativePath="..\x_funpro.h"
>
</File>
<File
RelativePath="..\x_funstr.h"
>
</File>
<File
RelativePath="..\x_glodef.h"
>
</File>
<File
RelativePath="..\x_glousr.h"
>
</File>
<File
RelativePath="..\x_platform.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
</Filter>
<Filter
Name="UNIX Files"
>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>



Answer this question

SxS problems with identical projects apart from ProjectGUID

  • Manu_Raj

    Problem solved - there was an old manifest file in the same directory as the executable. When that was deleted, the problem went away.
  • Christian Kaelin

    ...Forgot to mention that my environment is Windows XP SP2 with all latest Windows Updates and I'm using Visual Studio 2005 RTM (050727-4200)
  • SxS problems with identical projects apart from ProjectGUID