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

I get "CmdArgsParser did not load correctly" dialog on one solution. #179

Open
BengtGustafsson opened this issue May 29, 2024 · 3 comments

Comments

@BengtGustafsson
Copy link

This seems to be identical to #67 and I also see the text of #64 in the actual argument window.

I'm using your 3.1 version on VS 2022 17.9.6

Just as in #67 this only happens on one of my solutions which was open in VS when the computer was forcefully rebooted.

I deleted the json files in the build tree but that didn't help.

So it seems that some info in Microsoft's configuration files was corrupted or something like that.

@MBulli
Copy link
Owner

MBulli commented May 31, 2024 via email

@gix
Copy link

gix commented Jan 6, 2025

I have the same problem. I put the config into the .suo and directly loading a project with config stored in the .suo file fails. If I load a different project (without config) first and then switch the solution it works.

@gix
Copy link

gix commented Jan 6, 2025

Attaching a debugger to VS while loading a solution gives me:

Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'The best overloaded method match for 'System.Collections.Generic.List<SmartCmdArgs.Logic.CmdArgumentJson>.Add(SmartCmdArgs.Logic.CmdArgumentJson)' has some invalid arguments'

in SmartCmdArgs17.dll!SmartCmdArgs.Helper.ProjectConfigHelper.GetVCProjEngineConfig.

If the config is loaded as part of package initialization then VS obviously complains about a failed InitializeAsync. I see that ProjectConfigHelper was removed in v2.6.1, so this might not be an issue anymore in the latest code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants