0

I have 3 projects in a Visual Studio solution. One of the projects (Driver) contains references to the .dlls produced by the other two projects. The copy local property is set to true for both. Neither of these .dlls get copied to Driver's bin/Debug directory. Isn't that what should happen?

I get runtime errors because the assemblies can't be found.

By the way, my .dlls used to be in the GAC but I uninstalled them.

KyleM
  • 4,445
  • 9
  • 46
  • 78
  • Are you compiling all the projects at the same time? If so, does the driver project get compiled last? Why not have the other two projects set as references instead of copying DLLs? I think that is the recommended way. – Evan Dec 16 '11 at 16:46
  • @Evan "One of the projects (Driver) contains references to the .dlls produced by the other two projects" – KyleM Dec 16 '11 at 16:49
  • A little more info: http://msdn.microsoft.com/en-us/library/wkze6zky(v=VS.100).aspx If I have multiple projects in the same solution, I would expect to use a project reference instead of a file reference. – Evan Dec 16 '11 at 16:49
  • @Evan I did use a project reference but it shouldn't matter – KyleM Dec 16 '11 at 16:51

1 Answers1

1

Never mind, I uninstalled from the GAC, logged out, logged back in, restarted VS 2010, cleaned the solution, then rebuilt the project...

then it worked

KyleM
  • 4,445
  • 9
  • 46
  • 78