VC++2008 manifest dependencies confusion.
-
Hi, After I've converted my MFC application from VS2005 to VS2008 in the debug runtime I've got error: "Unable to start program C:\Proj\...\Conv1.exe This application has failed to start because the application configuration is incorrect. For more details, please see the application event log." In event viewer I've found error: Source:SideBySide Event ID: 59 Description: Generate Activation Context failed for C:\Proj\...\Conv1.exe. Reference error message: The referenced assembly is not installed on your system. When I looed into manifest I've found dependencies on MFC and CRT of both VC90/VC80 (VS2005/2008). I have to somehow get rid of VC80 dependencies in the manifest. - HOW CAN I DO THAT??? Thanks in advance. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel> </requestedPrivileges> </security> </trustInfo> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC90.DebugCRT" version="9.0.21022.8" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC90.DebugMFC" version="9.0.21022.8" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50727.762" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50608.0" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> </assembly>
-
Hi, After I've converted my MFC application from VS2005 to VS2008 in the debug runtime I've got error: "Unable to start program C:\Proj\...\Conv1.exe This application has failed to start because the application configuration is incorrect. For more details, please see the application event log." In event viewer I've found error: Source:SideBySide Event ID: 59 Description: Generate Activation Context failed for C:\Proj\...\Conv1.exe. Reference error message: The referenced assembly is not installed on your system. When I looed into manifest I've found dependencies on MFC and CRT of both VC90/VC80 (VS2005/2008). I have to somehow get rid of VC80 dependencies in the manifest. - HOW CAN I DO THAT??? Thanks in advance. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel> </requestedPrivileges> </security> </trustInfo> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC90.DebugCRT" version="9.0.21022.8" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC90.DebugMFC" version="9.0.21022.8" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50727.762" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50608.0" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> </assembly>
This means you are using some library which was compiled with VC8.0. -Saurabh
-
This means you are using some library which was compiled with VC8.0. -Saurabh