Hi everyone,
We've setup a fairly straightforward development environment with SharePoint 2010 and Visual Studio 2010 installed on it, added a couple of projects and created a reference to the AJAX Control Toolkit assembly (AjaxControlToolkit.dll) in serveral of these projects. However a strange error occurs whenever we attempt to deploy the solutions containing this dll-reference:
Error occured in deployment step 'Add Solution': Error: Cannot add the specified assembly to the global assembly cache: AjaxControlToolkit.dll
The strange part is that this error only occurs the first time we deploy. If we select "Deploy Solution" immediately after everything works as expected. The reference was created by right-clicking the project and selecting "Add reference..." and adding the assembly under the "Package" advanced settings for additional assemblies. We tried removing the entry on the package but that did not help. There's a property on the assembly reference called "Copy Local" but setting this to True or False make no difference.
Does anyone have a suggestion for what might cause this error? Or maybe some way to further dig into what VS2010 actually does when deploying solutions. Thanks!