Problems with references in LW SC Solution

Topics: CAB & Smart Client Software Factory
Mar 27, 2006 at 8:45 AM
originally posted by: MathiasWestin

Downloaded and installed the SC BAT March 3 2006, tested to create the Light Weight Smart client solution and it created the solution and the projects. But the directories (that was asked when the solution was created) for CAB and EntLib was not used in the projects and the references are pointed at the lib directory in the solution. A warning is showing in the VS error list and it say: "Warning 1 The referenced component 'Microsoft.Practices.CompositeUI.WinForms' could not be found."...

It doesn't seem to be wrong and if I click on the reference the warning disapear. If I look in the lib directory it has all the DLL's.

I guess that the problem is that the DLL's get copied after the project is created. I made a GAT package myself before and I used a Recipe and a custom Action to add references to the project. This also solves the problem when handling web projects that doesn't have a csproj/webproj file. See