Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. VC++2008 manifest dependencies confusion.

VC++2008 manifest dependencies confusion.

Scheduled Pinned Locked Moved C / C++ / MFC
c++questioncomsecuritydebugging
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    oleg63
    wrote on last edited by
    #1

    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>

    S 1 Reply Last reply
    0
    • O oleg63

      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>

      S Offline
      S Offline
      Saurabh Garg
      wrote on last edited by
      #2

      This means you are using some library which was compiled with VC8.0. -Saurabh

      O 1 Reply Last reply
      0
      • S Saurabh Garg

        This means you are using some library which was compiled with VC8.0. -Saurabh

        O Offline
        O Offline
        oleg63
        wrote on last edited by
        #3

        Thanks for the hint. This means I have to recompile all MFC dependent libraries with VS2008, and thereafter convert the project?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups