This is a bug I have had for a long time now (in build 249 also). Some projects is loosing it's references when rebuilding the solution. The references was working fine before the rebuild.
To solve this, I have to rebuild the project with the objects referenced (not the project with the missing references)
The missing references most often occurs in the web projects
My solution consists of the following projects
- Portal (Web Project )
- PortalAdmin (Web Project)
- PortalUtilities (Class library)
- BusinessComponents (Class Library, using 10+ Typed DataSets)
- ServiceAgents (Class Library)
- DataAdapters (Class Library)
- Mocks (Class Library - loosely coupled with Spring.NET)
- Utilities (Class Library)
- UtilityDAL (Class LIbrary with a Typed DataSet)
- Portal_Deploy (Web Deployment Project)
- PortalAdmin_Deploy (Web Deployment Project)
Running VS 2005 Team Suite.
10:15:18: Thread:4372: Diff = 390,4992
, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7b465ea5a98c9f6f, delta:OldPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\UtilityDataAccessLayer\bin\Debug\UtilityDataAccessLayer.dll NewPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\UtilityDataAccessLayer\bin\Debug\UtilityDataAccessLayer.dll ChangeType:ADDED
, Version=2.0.0.0, Culture=neutral, PublicKeyToken=72a3a0bea7bff7fe, delta:OldPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Utilities\bin\Debug\Utilities.dll NewPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Utilities\bin\Debug\Utilities.dll ChangeType:ADDED
, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8798884e7026c9d5, delta:OldPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\ServiceAgents\bin\Debug\ServiceAgents.dll NewPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\ServiceAgents\bin\Debug\ServiceAgents.dll ChangeType:ADDED
, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a58d9ddbb7c4d1f1, delta:OldPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\DataAdapters\bin\Debug\DataAdapters.dll NewPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\DataAdapters\bin\Debug\DataAdapters.dll ChangeType:ADDED
, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b95e57f3b61b243f, delta:OldPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\BusinessComponents\bin\Debug\BusinessComponents.dll NewPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\BusinessComponents\bin\Debug\BusinessComponents.dll ChangeType:ADDED
, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a806ac2e638ffc86, delta:OldPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Mocks\bin\DeployTest\Mocks.dll NewPath:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Mocks\bin\DeployTest\Mocks.dll ChangeType:ADDED
10:15:18: Thread:4372: Diff = 390,4992
10:15:18: Thread:4372: Diff = 390,4992
10:15:18: Thread:4372: Diff = 390,4992
10:15:19: Thread:4372: Could not find project UtilityDataAccessLayer\UtilityDataAccessLayer.csproj
10:15:23: Thread:4372: Could not find project Utilities\Utilities.csproj
10:15:28: Thread:4372: Could not find project DataAdapters\DataAdapters.csproj
10:15:32: Thread:4372: Could not find project Mocks\Mocks.csproj
10:15:36: Thread:4372: Could not find project ServiceAgents\ServiceAgents.csproj
10:15:41: Thread:4372: Could not find project BusinessComponents\BusinessComponents.csproj
10:15:53: Thread:4372: AssemblyFile.ApplyFileSystemChange, file:UtilityDataAccessLayer
10:15:53: Thread:4372: AssemblyFile.ApplyFileSystemChange, file:Utilities
10:15:53: Thread:4372: AssemblyFile.ApplyFileSystemChange, file:ServiceAgents
10:15:53: Thread:4372: AssemblyFile.ApplyFileSystemChange, file:DataAdapters
10:15:53: Thread:4372: AssemblyFile.ApplyFileSystemChange, file:BusinessComponents
10:15:53: Thread:4372: AssemblyFile.ApplyFileSystemChange, file:Mocks
10:16:14: Thread:4372: +OnAfterFirstDocumentLock, docCookie:291718848, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Portal\Web.config, text buffer:47906786
10:16:14: Thread:4372: +OnRegisterTextBuffer, docCookie:291718848, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Portal\Web.config, text buffer:47906786
10:16:14: Thread:4372: OnRegisterTextBuffer:adding mapping, doc info:, docCookie:291718848, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Portal\Web.config, text buffer:47906786, projectFile:<Portal>\Web.config
10:16:14: Thread:4372: -OnRegisterTextBuffer, docCookie:291718848, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Portal\Web.config, text buffer:47906786
10:16:14: Thread:4372: -OnAfterFirstDocumentLock, docCookie:291718848, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Portal\Web.config, text buffer:47906786
10:16:14: Thread:4372: +OnBeforeLastDocumentUnlock, docCookie:291718848, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Portal\Web.config, text buffer:47906786
10:16:14: Thread:4372: -OnBeforeLastDocumentUnlock, docCookie:291718848, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\Portal\Web.config, text buffer:47906786
10:16:22: Thread:4372: +OnAfterFirstDocumentLock, docCookie:937064216, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\PortalAdmin\Web.Config, text buffer:14401599
10:16:22: Thread:4372: +OnRegisterTextBuffer, docCookie:937064216, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\PortalAdmin\Web.Config, text buffer:14401599
10:16:22: Thread:4372: OnRegisterTextBuffer:adding mapping, doc info:, docCookie:937064216, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\PortalAdmin\Web.Config, text buffer:14401599, projectFile:<PortalAdmin>\Web.Config
10:16:22: Thread:4372: VSDocumentOperationsHandler::ConnectToStream, id 62505528 text stream:14401599
10:16:22: Thread:4372: VSDocumentOperationsHandler::Dispose, id:60415813, text stream:36539029
10:16:22: Thread:4372: VSDocumentOperationsHandler::DisconnetFromStream, id 60415813 text stream:36539029
10:16:22: Thread:4372: -OnRegisterTextBuffer, docCookie:937064216, fileName:C:\Prosjekter\cust\portalname\Onecust\Onecustbuildserver\Onecust\PortalAdmin\Web.Config, text buffer:14401599