SlimDX/slimdx

Missing project dependency in solution file?

Closed this issue · 1 comments

When building from scratch on my multicore machine, the SlimDX and
SlimDX.Windows7 projects build in parallel. This causes fatal errors in the
Win7 project due to ComObject.h and the #using statements in the block at
lines 27 through 47.

So the Win7 project fails because SlimDX.dll hasn't been built yet. Adding
a project dependency on SlimDX in the SlimDX.Windows7 project solves this.

Solution file diff:

Index: SlimDX.sln
===================================================================
--- SlimDX.sln  (revision 997)
+++ SlimDX.sln  (working copy)
@@ -75,6 +75,9 @@
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SkinnedMesh",
"..\samples\Direct3D9\SkinnedMesh\SkinnedMesh.csproj",
"{A24A7232-9003-42A5-B9CE-D309FA2D2E98}"
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SlimDX.Windows7",
"..\windows7\SlimDX.Windows7.vcproj", "{01D1D752-A763-4D67-A7BD-0F13BDA0E866}"
+   ProjectSection(ProjectDependencies) = postProject
+       {8ECCE443-0440-40F4-A94C-F02E027282C3} =
{8ECCE443-0440-40F4-A94C-F02E027282C3}
+   EndProjectSection
 EndProject
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Direct2D",
"Direct2D", "{E6A42EBC-8547-49F3-8193-62BCE8019CEC}"
 EndProject

Original issue reported on code.google.com by carl.ad...@gmail.com on 1 Apr 2009 at 10:26

Fixed in r1008.

Original comment by Mike.Popoloski on 2 Apr 2009 at 1:40

  • Changed state: Fixed