SmartCommandlineArgs
SmartCommandlineArgs copied to clipboard
Hang on Startup
If SmartCommandArgs window is tabbed (in my case it's part of the output/ symbols etc tab) then on startup it may hang. Was able to pull the following from ActivityLog.xml. Also using VisualAssist and PlasticSCM plugins.
<entry> <record>164</record> <time>2019/08/23 12:49:52.191</time> <type>Error</type> <source>VisualStudio</source> <description>Construction of frame content failed.
Frame identifier: ST:0:0:{a21b35ed-5c13-4d55-a3d2-71054c4e9540}
Frame caption: Command Line Arguments
Exception details:
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
 at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()</description> </entry>
Which exact version of VS are you using? Does this error occur all the time? Did you try to create a new blank project (without SCM)?
Some people write on the internet that running VS as administrator once could fix this exception. Of course not in the context with our extension ;) So maybe give it a try.
Running VS 2017 V.15.6.1.
This error occurs all the time under the following conditions: Any project, if I double click the .sln file and SmartCmdArgs window was visible/ docked as part of my preferences then this issue occurs. This issue does not occur if I open VS/ devenv.exe and then File->Open a Project or Solution. If SmartCmdArgs is enabled in extensions but not a visible window then there is no issue.
Running VS and opening Solutions as Admin does not fix issue.
It's an odd one for sure!