windows - Visual Studio 2013 extensions and roaming profiles -


visual studio 2013 ships couple of extensions don't work if have roaming profile. symptoms error messages when opening c# project , (in cases) when creating new c# project. (other languages may affected.)

these errors occur on machine other 1 on first ran visual studio, , seem related fact extensions stored in path random component.

the problematic extensions are:

  • application insights tools visual studio
  • nuget package manager visual studio 2013

i believe uninstalling these 2 extensions on machines resolve problem, there other way?

the error messages in activity log this:

  <entry>     <record>311</record>     <time>2015/05/08 02:41:35.021</time>     <type>error</type>     <source>visualstudio</source>     <description>createinstance failed package [nugetvseventspackage]</description>     <guid>{98bf0691-d23c-4897-a241-9cf5befdcc4a}</guid>     <hr>80070002</hr>     <errorinfo>could not load file or assembly 'nuget.tools, version=2.8.50926.663, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 1 of dependencies. system cannot find file specified.</errorinfo>   </entry>    <entry>     <record>312</record>     <time>2015/05/08 02:41:35.021</time>     <type>error</type>     <source>visualstudio</source>     <description>end package load [nugetvseventspackage]</description>     <guid>{98bf0691-d23c-4897-a241-9cf5befdcc4a}</guid>     <hr>80004005 - e_fail</hr>     <errorinfo>could not load file or assembly 'nuget.tools, version=2.8.50926.663, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 1 of dependencies. system cannot find file specified.</errorinfo>   </entry>    <entry>     <record>321</record>     <time>2015/05/08 02:41:36.967</time>     <type>error</type>     <source>visualstudio</source>     <description>createinstance failed package [vspackage]</description>     <guid>{1a4efade-f6b2-4490-a2ef-21d5f3d1c8e0}</guid>     <hr>80070002</hr>     <errorinfo>could not load file or assembly 'file:///c:\program files (x86)\microsoft visual studio 12.0\common7\ide\extensions\v03a4uqf.jhe\microsoft.appinsights.gettingstarted.dll' or 1 of dependencies. system cannot find file specified.</errorinfo>   </entry>    <entry>     <record>322</record>     <time>2015/05/08 02:41:36.967</time>     <type>error</type>     <source>visualstudio</source>     <description>end package load [vspackage]</description>     <guid>{1a4efade-f6b2-4490-a2ef-21d5f3d1c8e0}</guid>     <hr>80004005 - e_fail</hr>     <errorinfo>could not load file or assembly 'file:///c:\program files (x86)\microsoft visual studio 12.0\common7\ide\extensions\v03a4uqf.jhe\microsoft.appinsights.gettingstarted.dll' or 1 of dependencies. system cannot find file specified.</errorinfo>   </entry> 

there 1 registry entry in hkcu references missing path:

hkey_current_user\software\microsoft\visualstudio\12.0_config\packages\{1a4efade-f6b2-4490-a2ef-21d5f3d1c8e0}     vswinexpressid    reg_dword    0x4     vwdexpressid    reg_dword    0x3     minedition    reg_sz    standard     productversion    reg_sz    1.0     productname    reg_sz    application insights tools visual studio     companyname    reg_sz    microsoft corporation     (default)    reg_sz    vspackage     inprocserver32    reg_sz    c:\windows\system32\mscoree.dll     class    reg_sz    microsoft.appinsights.gettingstarted.vspackage     codebase    reg_sz    c:\program files (x86)\microsoft visual studio 12.0\common7\ide\extensions\tr5jvnqs.3lf\microsoft.appinsights.gettingstarted.dll 

(nb: registry entry posted obtained different test run activity log was, why random part of paths don't match.)


Comments