Given a Solution where:
- Project P1 has a reference to P2
- P2 has a reference to P3
- P3 has reference to P4
When you call msbuild this way:
msbuild.exe /v:m "c:\mysolution\p1\p1.csproj"
msbuild checks all project dependencies is builds dependencies if necessary. The typical output is:
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.1]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
P4 -> c:\mysolution\P4\bin\Debug\P4.dll
p3 -> c:\mysolution\p3\bin\Debug\p3.dll
p2 -> c:\mysolution\p2\bin\Debug\p2.dll
p1 -> c:\mysolution\p1\bin\Debug\p1.dll
In my case, I know the dependencies exist and are all right.
Is there a way to build only project p1.csproj
without verifying dependencies? The solution can be with msbuild or with something else.