dotnet / dotnet/msbuild

how to debug MSBuild dependency issues?

Open
#1,633 0 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

https://stackoverflow.com/questions/41940405/how-to-debug-msbuild-dependency-issues

Basically msbuild fails to build our mixed C#/C++CLI solution when /m mode is activated (while building via devenv still works).
Looks like some C++ projects are built multiple times simultaneously on different nodes.

```
1>Project "Solution.sln" (1)
is building "e.vcxproj" (60) on node 5 (default targets).
1>Project "Solution.sln" (1)
is building "f.csproj" (69) on node 6 (default targets).
69>Project "f.csproj" (69)
is building "f.csproj" (69:2) on node 6 (ResolveReferences;_CopyFilesMarkedCopyLocal target(s)).
69:2>Project "f.csproj" (69:2)
is building "e.vcxproj" (60:2) on node 6 (default targets).
```

Any ideas how to find out why?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.