Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24753

MSBuild fails with error "fatal error C1090: PDB API call failed, error code '23'"

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: msbuild-plugin
    • Labels:
      None
    • Environment:
      Jenkins V1.580, Windows 7 64bit.
      MSBuild V 4.0.30319.18408
      .Net Framework V4.0.30319.18444
    • Similar Issues:

      Description

      VS2010 C++, C# build fails with error fatal error C1090: PDB API call failed, error code '23' when run using MSBuild plugin.

      Parameters: /m /p:Configuration=Release /p:Platform=win32

      The build passes if run using command line (Windows Batch Command)

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            Does this occur every time when building in Jenkins? Are you building multiple VS projects in parallel when this occurs? Try not doing that.

            Show
            danielbeck Daniel Beck added a comment - Does this occur every time when building in Jenkins? Are you building multiple VS projects in parallel when this occurs? Try not doing that.
            Hide
            sankethpb Sanketh PB added a comment -

            This happens atleast twice in 8 builds. We build many projects in parallel.
            Our intention of using msbuild is to improve the speed and reduce build time by parallelization. I am not sure why this issue occurs.

            Show
            sankethpb Sanketh PB added a comment - This happens atleast twice in 8 builds. We build many projects in parallel. Our intention of using msbuild is to improve the speed and reduce build time by parallelization. I am not sure why this issue occurs.
            Hide
            danielbeck Daniel Beck added a comment -

            Duplicates JENKINS-9104.

            Show
            danielbeck Daniel Beck added a comment - Duplicates JENKINS-9104 .
            Hide
            davida2009 David Aldrich added a comment -

            Please can anyone advise me how to set _MSPDBSRV_ENDPOINT_ with value BUILD_TAG in a pipeline declarative script?

            I don’t really understand the difference between defining and injecting an environment variable. I could do:

            stage('build_VisualStudio') {
                    environment { _MSPDBSRV_ENDPOINT_=$BUILD_TAG }
            etc.
            

            Would that be sufficient or must environment variable injection be done in a different way?

            Show
            davida2009 David Aldrich added a comment - Please can anyone advise me how to set _MSPDBSRV_ENDPOINT_ with value BUILD_TAG in a pipeline declarative script? I don’t really understand the difference between defining and injecting an environment variable. I could do: stage( 'build_VisualStudio' ) { environment { _MSPDBSRV_ENDPOINT_=$BUILD_TAG } etc. Would that be sufficient or must environment variable injection be done in a different way?

              People

              • Assignee:
                kdsweeney kdsweeney
                Reporter:
                sankethpb Sanketh PB
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: