Missing dependencies .?
Hihaving just applied some Crystal Reports patches my app has suddenly developed the following build errors.
The dependency 'CrystalDecisions.VSShell' could not be found.
The dependency 'Microsoft.VisualStudio' could not be found.This could be a coincidence but cannot see any other reason my app will suddenly show this. Also, 2 datasets I had dropped onto my main form have disappeared and I cannot recreate. I am given a message to rebuild and fix the errors first.
Both these DLL's exist on my pc in the directories that are in the dependency path so not really sure how to resolve this.
Any suggestions appreciated.
Hello Gretzky99,
Sorry to hear you've lost your references. I'll offer my shot in the dark for you.
My guess is that the patches you installed either removed the dependent files and replaced them with newer ones, or installed some policy to the Global Assembly Cache that is forcing your app to use the new versions, but VB still has a reference to the old ones. I would try removing the references to all of the Crystal Reports Assemblies and then re-adding them (they should be listed for you in the Add References Dialog.
If that works for you then most likely it will also clear up your dataset problem since that code is probably still there in the code behind file, but it just can't be rendered in the designer because its down stream from the crystal reports issues.
Regards,
Patrick Baker
Microsoft Visual Basic Deployment & Designer Team
This posting is provided "AS IS" with no warranties, and confers no rights.