Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hang on Startup #87

Open
CelestialPanda42 opened this issue Aug 29, 2019 · 2 comments
Open

Hang on Startup #87

CelestialPanda42 opened this issue Aug 29, 2019 · 2 comments
Labels

Comments

@CelestialPanda42
Copy link

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.&#x000D;&#x000A;Frame identifier: ST:0:0:{a21b35ed-5c13-4d55-a3d2-71054c4e9540}&#x000D;&#x000A;Frame caption: Command Line Arguments&#x000D;&#x000A;Exception details:&#x000D;&#x000A;System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))&#x000D;&#x000A; at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid&amp; packageGuid, Int32 reason, Guid&amp; context)&#x000D;&#x000A; at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()&#x000D;&#x000A; at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()</description> </entry>

@MBulli
Copy link
Owner

MBulli commented Sep 1, 2019

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.

@CelestialPanda42
Copy link
Author

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!

@Irame Irame added the bug label Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants