Home > The Specified > Visual Studio Cannot Add The Specified Assembly To The Global Assembly Cache

Visual Studio Cannot Add The Specified Assembly To The Global Assembly Cache


You can learn more about what kind of cookies we use, why, and how from our Privacy Policy. The event logs say nothing as far as I can find at least. Important - please NEVER remove the existing WSPs as this initiates a full install and will remove DocRead and the tasks from your Farm. The dll is not present in the GAC_MSIL folder nor assembly or assembly\temp (see point 3).

The beauty of this tool is, it displays the list of processes running on the server and what DLL's its using. If the issue still exists, I suggest you perform an iisreset and do the test again. How about creating and deploying a simple solution, will this error occur? 4. On performing Upgrade Solution via stsadm or Update-Solution via Power Shell , encountered the error: cannot add the specified assembly to the GAC.

Visual Studio Cannot Add The Specified Assembly To The Global Assembly Cache

I thought it might be due to some references in my assembly, but I'm only referencing standard SharePoint stuff and one other utility library that is already GACed just fine. Browse other questions tagged deployment or ask your own question. But now our project is getting big and deployment take a long time and it is becoming incredibly annoying having to deploy twice. Enter your search term here...

Confusion in fraction notation Why didn't the Roman maniple make a comeback in the Renaissance? People are notorious for manually copying troublesome DLLs to the /bin/ or /_app_bin/ of the web application If you have other older WSPs that are deployed to that farm make sure What's the purpose of the same page tool? Add-spsolution Special operations on a list What is shiny and makes people sad when it falls?

Rate this:Social:GoogleFacebookTwitterPrintEmailMoreShareLinkedInReddit About Øystein Garnes .Net and SharePoint 2010 developer, husband, Boston Terrier owner, amateur caveman chef, amateur genealogist, cross country skier, food blogger. Bookmark the permalink. ← Notify FAIL Activate On Default → 13 Responses to Error: Cannot add the specified assembly to the global assemblycache Brage R Tukkensæter (@brager) says: 2011-08-07 at 01:02 Resolution Remove the dll manually and run the installation again by executing the following command: gacutil –u Newtonsoft.Json.dll  gacutil –u Newtonsoft.Json.dll Important Important: Best practices for successful installation Did you find it helpful? You may use the Reset.cmd script supplied with CopyMove 2013.

RESOLUTIONTo resolve this, it may be necessary to perform the install during non-peak serveraccesstimes as well as:1.Turn off the World Wide Web Publishing Service on allweb front end servers.2. Process Explorer Install CopyMove 2013 again. Anyone have any tips on what could be wrong or where I could perhaps find any more info? The problem was resolved by using GACUtil and uncovering that my project keyfile was somehow corrupt.


As the error message did not tell me why this happened or how I could fix it, I asked google. browse this site Join to find your perfect date.ReplyDeleteAdd commentLoad more... Visual Studio Cannot Add The Specified Assembly To The Global Assembly Cache deployment share|improve this question edited Sep 24 '12 at 18:08 asked Sep 24 '12 at 18:02 Caesar 200128 Try IISReset and then deploy, it work like a charm –user45051 Gacutil Location Why are "The Thanksgiving House" and "Legally Tender" (both movies) the same movie?

Restart the Windows SharePoint Services Timer service. This happened because you have already the same dll file installed and our solution is trying to add newer version of the same dll. If you write it up as a proper answer I'll mark it as resolved :) –Thomas Mar 23 '15 at 6:55 add a comment| 1 Answer 1 active oldest votes up I had to rely on Process Explorer to figure out what process was using the DLL and from where. Gacutil Download

Then just try the above again and try installing again. If the issue still exists, I suggest you perform an iisreset and do the test again. What is the structure in which people sit on the elephant called in English? Recreating the keyfile solved the issue. –Thomas Nov 22 at 9:04 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign

I did an iisreset, I almost downloaded sysinternals, I stopped the timer service in services… finally, I just closed and reopened visual studio itself and I was finally able to close Cause During the install, the process managing the install was unable to deploy a required assembly [DLL] to the global assembly cache [GAC]. Is there a limit to the number of nested 'for' loops?

Uninstall CopyMove 2013 using the Uninstall.cmd script.

Special operations on a list Coprimes up to N Is there any indication in the books that Lupin was in love with Tonks? 'sudo' is not installed, I can't install it, What is the most secured SMTP authentication type? Useful LinksDocRead for SharePoint DocSurvey for SharePoint Our SitesSharePoint Community .net Collab365 Virtual Events Office 365 Blogs About UsFacebook LinkedIn Twitter Website Terms and Conditions Our Privacy Policy Copyright 2016 by It'll help other users who are visiting your thread for the similar problem.

Any Ides or help appreciated Thursday, January 09, 2014 7:49 PM Reply | Quote Answers 4 Sign in to vote try this: 1.restart Timer Service 2.iisreset Marked as answer by Dennis Office UI Fabric Microsoft Graph Better with Office Word Excel Powerpoint Access Project OneDrive OneNote Outlook SharePoint Skype Yammer Android ASP .NET iOS JavaScript Node.js PHP (coming soon) Python (coming soon) Please check that whether the account you used is both a local administrator on the server and an administrator within the SharePoint farm; 2. reset IIS.check this… –Waqas Sarwar MCSE Mar 20 '15 at 14:44 @Waqas Sarwar MCSE I did reset IIS (see point 4).

Do you say prefix K for airport codes in the US when talking with ATC? Will Minecraft map items automatically update with terrain changes? View all posts by Øystein Garnes → This entry was posted in SharePoint and tagged SharePoint 2010, Visual Studio.