CoverageReportReader Issues

Sysprogs forums Forums VisualGDB CoverageReportReader Issues

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33519
    kellac1
    Participant

    When I run the following command within Powershell, the DLL seems to have failures.
    <div>
    <div>$AssemblyPath = "C:\Program Files (x86)\Sysprogs\VisualGDB\VisualGDBCore.dll"</div>
    <div>
    <div>
    <div>$byteValues = [System.IO.File]::ReadAllBytes($AssemblyPath)</div>
    <div>[System.Reflection.Assembly]::Load($byteValues)</div>
    </div>
    </div>
    <div>
    <div>
    <div>$custObj = New-Object VisualGDB.Backend.LinuxProfiler.CoverageReportReader($inputFile, $null)</div>
    </div>
    </div>
    </div>
    Could not load file or assembly ‘SysprogsVSPluginInterfaces, Version=5.5.105.1, Culture=neutral, PublicKeyToken=8f764369eb712693’. The system cannot find the file specified.

    However, this works on a different machine with the same VisualGDB 5.5r5. We did verify the DLL is within the directory above.

    Could you please help?

    Thank you,

    Chris

     

     

    #33520
    support
    Keymaster

    Hi,

    This looks like something is off with your PowerShell assembly search path. If you are not comfortable troubleshooting it, we would suggest creating a simple command-line tool using the .Net Framework, referencing all the required assemblies from it, and using the CoverageReportReader class from the tool.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.