Skip to content

error MSB4006: There is a circular dependency in the target dependency graph involving target "ComputeGetResolvedWinMD" #950

@mcooley

Description

@mcooley

Building my project sometimes fails with error MSB4006. The error occurs when there is a Windows Application Packaging project referencing some projects which use the cppwinrt NuGet package, and MSBuild is building the projects in parallel.

I've included a minimal repro project here. To reproduce the issue, run msbuild App1.sln /p:Configuration=Release /p:Platform=x64 /m:4.

I confirmed that the first version of the NuGet package which exhibits the bug is 2.0.191202.2, so the issue has been present since since #432 was introduced.

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