pedropombeiro / ReSharper.AutoFormatOnSave

An addin for Visual Studio which causes the documents to be reformated on save

Home Page:http://blog.pedropombeiro.com/keeping-code-formatted-the-easy-way/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extension is failed to load

andrewmolyuk opened this issue · comments

After upgrade to 1.2.0 I've started to fail.

Environment : Windows 7 x64, VS2012 Pro U4, Resharper 7.1.1
Activity log extraction:

324 Begin package load [ReSharper.AutoFormatOnSave.ReSharper_AutoFormatOnSavePackage, ReSharper.AutoFormatOnSave, Version=1.2.0.0, Culture=neutral, PublicKeyToken=0c13295e2103ff99] {2C65FBA8-3ECB-4004-8EE3-6D9E62CD987A} VisualStudio 2013/11/27 13:29:22.246

325 ERROR CreateInstance failed for package [ReSharper.AutoFormatOnSave.ReSharper_AutoFormatOnSavePackage, ReSharper.AutoFormatOnSave, Version=1.2.0.0, Culture=neutral, PublicKeyToken=0c13295e2103ff99] {2C65FBA8-3ECB-4004-8EE3-6D9E62CD987A} 80070002 VisualStudio 2013/11/27 13:29:22.252

326 ERROR End package load [ReSharper.AutoFormatOnSave.ReSharper_AutoFormatOnSavePackage, ReSharper.AutoFormatOnSave, Version=1.2.0.0, Culture=neutral, PublicKeyToken=0c13295e2103ff99] {2C65FBA8-3ECB-4004-8EE3-6D9E62CD987A} 80004005 - E_FAIL VisualStudio 2013/11/27 13:29:22.253

image

I get something similar with v1.2 on a Windows 8.1 x64 machine, running Visual Studio Ultimate 2012:
A dialog provides a little info.
2014-02-06 11_27_00-microsoft visual studio

The ActivityLog.xml shows the following:

590
2014/02/06 19:25:01.913
Information
VisualStudio
Begin package load [ReSharper.AutoFormatOnSave.ReSharper_AutoFormatOnSavePackage, ReSharper.AutoFormatOnSave, Version=1.2.0.0, Culture=neutral, PublicKeyToken=0c13295e2103ff99]
{2C65FBA8-3ECB-4004-8EE3-6D9E62CD987A}


591
2014/02/06 19:25:01.919
Error
VisualStudio
CreateInstance failed for package [ReSharper.AutoFormatOnSave.ReSharper_AutoFormatOnSavePackage, ReSharper.AutoFormatOnSave, Version=1.2.0.0, Culture=neutral, PublicKeyToken=0c13295e2103ff99]
{2C65FBA8-3ECB-4004-8EE3-6D9E62CD987A}


80070002
Could not load file or assembly 'Microsoft.VisualStudio.Shell.10.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.


592
2014/02/06 19:25:01.919
Error
VisualStudio
End package load [ReSharper.AutoFormatOnSave.ReSharper_AutoFormatOnSavePackage, ReSharper.AutoFormatOnSave, Version=1.2.0.0, Culture=neutral, PublicKeyToken=0c13295e2103ff99]
{2C65FBA8-3ECB-4004-8EE3-6D9E62CD987A}

80004005 - E_FAIL
Could not load file or assembly 'Microsoft.VisualStudio.Shell.10.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

I'm getting thee xact same error as described by @mkisaacs on a v64 win7 machine running VS2010 ultimate (10.0.40219.1 SP1 Rel).
Did you find a solution for this? I'd love to use the extension.

Should be fixed with new version 1.2.2

Thanks! I can confirm my issue is fixed with the new release.

Glad to hear that @taconaut! I apologize for the time it took to fix it, but I'm not using the extension myself at this point, so I didn't really have things set up to test it.