Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.
This repository was archived by the owner on Feb 12, 2023. It is now read-only.

GitLink.GitLinkException: Pdb header didn't match #176

@jzeferino

Description

@jzeferino

Steps to reproduce

  1. gitlink.exe <pdbFile>

Platform:
.NET version 4.5.2 under mono 5.2.0.215 (OSX)
Gitlink 3.0.0 or 2.1.0

The pdb file was generated in Release with <DebugType>pdbonly</DebugType>

Actual behaviour

Pdb header didn't match
[ERROR] FATAL UNHANDLED EXCEPTION: GitLink.GitLinkException: Pdb header didn't match
  at GitLink.Pdb.PdbFile.CheckPdbHeader () [0x00046] in <156ded793bc24bc890c4c0e71c6fac63>:0 
  at GitLink.Pdb.PdbFile..ctor (System.String path) [0x00090] in <156ded793bc24bc890c4c0e71c6fac63>:0 
  at GitLink.Linker.Link (System.String pdbPath, GitLink.LinkOptions options) [0x0004d] in <156ded793bc24bc890c4c0e71c6fac63>:0 
  at GitLink.Program.Main (System.String[] args) [0x000d2] in <156ded793bc24bc890c4c0e71c6fac63>:0 

Any suggestion?

EDIT:

ADITIONAL INFO:

Tested the same .pdb and gitlink version on windows and got:

Pdb header didn't match

Unhandled Exception: GitLink.GitLinkException: Pdb header didn't match
   at GitLink.Pdb.PdbFile.CheckPdbHeader()
   at GitLink.Pdb.PdbFile..ctor(String path)
   at GitLink.Linker.Link(String pdbPath, LinkOptions options)
   at GitLink.Program.Main(String[] args)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions