locked
Calling Visual Studio 2017 (devenv.exe) through an appv bubble giving error. VS2015 however works RRS feed

  • Question

  • I created an appv package which contains ODBC drivers and created a separate shortcut (ps script) calling Visual Studio through this package.

    its like devenv.exe /appvve:PackageID_VersionID

    When running devenv.exe from Visual Studio 2015, Visual studio launching fine and able to access DSN entries

    but in another machine which contains Visual Studio 2017, its giving error. Normal Visual Studio shortcut launches but virtual devenv.exe giving error

    "package management initialization failed. You can get more information by examing file in Appdata\Roaming\Microsoft\VisualStudio\15.0_b5cdcf7c\Activitylog.xml"

    The log file contains following error

    PkgDef syntax or I/O error at line 1: Section header: additional characters after closing bracket
              [$RootKey$\Setup\[ProductName]]

     PkgDef syntax or I/O error at line 3: Section header: additional characters after closing bracket
              "SrcPath"="[SourceDir]"

    Could not process PkgDef file
              c:\program files (x86)\microsoft visual studio\2017\enterprise\common7\ide\extensions\community\detection_keys_reg.pkgdef

    Failed to process PkgDef file
              c:\program files (x86)\microsoft visual studio\2017\enterprise\common7\ide\extensions\dsltexttemplatingregistry_x86.pkgdef

    PkgDef loading aborted
    Error or timeout while initializing non-volatile pkgdef cache


    • Edited by raj.regul Tuesday, November 13, 2018 9:34 AM
    Friday, November 9, 2018 2:03 PM

All replies

  • I'm having the same problem. Are you able to solve the problem?
    Wednesday, May 8, 2019 9:41 AM