Skip to content

Use of pre-build events lead to occasional race condition during solution build #9

Description

@ronnieholm

In case execution of pre-build events for IdP and SP overlap, compilation may intermittently fail. Failure is caused by parallel execution of appcmd processes. Execution of appcmd in IdP races execution of appcmd in SP, leading to "file applicationhost.config locked by other process" compilation error.

In principle, I don't believe there's a need for pre-build events. appcmd setup is only needed once. I suppose the pre-build events were added in order to avoid additional manual steps about first opening the solution in Visual Studio (triggering .vs folder creation), then executing appcmd.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions