lysergic-acid
lysergic-acid

Reputation: 20050

MSBuild fails to build solution due to dependencies?

I have an issue when building a VS2008 solution from command line.

When running the same .sln file from VS2008, it builds fine.

the problem is, some project that is a part of the solution, and is referenced by many other projects, seems to not be building BEFORE the other projects, making them fail since this shared project's output is not available at the time they build.

Is there a way to get around this ? (force checking dependencies?)

Upvotes: 1

Views: 364

Answers (1)

Brian Kretzler
Brian Kretzler

Reputation: 9938

If you are using solution dependencies, switch to using project references instead. Also, check to be sure the proper platform and configuration are specified for the dependencies.

Upvotes: 1

Related Questions