Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug Problem with build dependencies in MS Build
4 replies. Latest Post by ptoinson on June 29, 2009.
(0)
Eric Wil...
Member
34 points
28 Posts
10-14-2008 1:21 PM |
We have a Silverlight solution with five projects in the following structure (project names changed to protect the guilty):
Throughout Beta 2, we have been successfully building this using MSBuild with the references listed above. Starting last night, when we updated our build server with the RTW developer tools for Silverlight, we started getting this error message:
[Any CPU/Release] CSC(0,0): error CS0006: Metadata file 'D:\BuildTemp\B.dll' could not be found[Any CPU/Release] CSC(0,0): error CS0006: Metadata file 'D:\BuildTemp\A.dll' could not be found[Any CPU/Release] CSC(0,0): error CS0006: Metadata file 'D:\BuildTemp\B.dll' could not be found[Any CPU/Release] CSC(0,0): error CS0006: Metadata file 'D:\BuildTemp\A.dll' could not be found
The work around today was to directly add dependencies from E to all of A, B, C and D using the Project Dependencies dialog.
I believe this is a bug, as MSBuild should cascade Project references and ensure everything is built.
mike.snow
221 points
305 Posts
10-14-2008 4:29 PM |
Eric -
This is a known issue and your work around is the correct one to take.
micjohns
2 points
3 Posts
12-05-2008 3:46 PM |
Is this an issue with MSBuild or Teambuild or both.
bwolohan
1 Posts
04-28-2009 11:26 AM |
Can you give any more details on this known issue? I'm having a problem building a solution with multiple SilverLight projects with team build and while adding the references helps it doesn't seem to fix all of the issues.
Thanks,
Bill
ptoinson
40 points
22 Posts
06-29-2009 6:45 PM |
Likewise. This issue has been a huge pain for me. Any word? Any other workaround except keep trying different manual dependency settings till it works?