8
Vote

Issue: Recycle IIS commands not working in VS2013

description

Execute the Recycle Selected Project App Pool and Recycle All App Pools results in the following output
========== Recycle Selected Project App Pool ==========
EXCEPTION: Command ID 'Deployment.GetApplicationPoolName' is invalid.
========== Recycle All App Pools ==========
Could not load file or assembly 'Microsoft.VisualStudio.SharePoint.Commands, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
EXCEPTION: Command ID 'Deployment.GetAllApplicationPoolNames' is invalid.

file attachments

comments

WesHackett wrote Jun 27, 2014 at 3:27 PM

Remove v1.2 and install the VS2013 2.0 version

wrote Jul 9, 2014 at 11:22 AM

wrote Jul 9, 2014 at 1:29 PM

pateketu wrote Jul 9, 2014 at 1:29 PM

Similar issue. Getting following error when trying to Copy to GAC or attempting to recycle apppool

Could not load file or assembly 'file:///C:\USERS\SAKETUL.PATEL\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\12.0\EXTENSIONS\CCDRVLZ5.5JM\CKS.Dev12.Cmd.Imp.v4.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Bea_ wrote Sep 2, 2014 at 8:37 AM

I also had the problem - but not only when I tried to recycle the app pool, but also when I tried to deploy the solution.
I took me a while to notice that the package-folder was missing. So, it was an error caused by TFS, not CKS.
After I deleted all files an synced it from TFS again the package-folder was there and all worked fine.

ste6r4 wrote Dec 4, 2014 at 10:12 AM

I've also seen this runnig VS2013 Update 4 and CKS Dev for 2013 v2.0

========== Recycle Selected Project App Pool ==========
Could not load file or assembly 'file:///C:\USERS\STEVENW\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\12.0\EXTENSIONS\SGVDI3A4.AB2\CKS.Dev12.Cmd.Imp.v4.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
EXCEPTION: Command ID 'Deployment.GetApplicationPoolName' is invalid.

wrote Jan 13, 2015 at 8:53 AM