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

CodeMaid Options not accessible when opening a file without a solution #256

Closed
codecadwallader opened this issue Apr 6, 2016 · 1 comment

Comments

@codecadwallader
Copy link
Owner

Environment

  • Visual Studio version: 2015 Professional
  • CodeMaid version: 10.0.75
  • Code language: JavaScript

Description

If you open a single JavaScript file within Visual Studio, there won't really be a solution associated with it and the CodeMaid Options dialog is not accessible. There is an error dialog, and I suspect it is failing when it tries to resolve the path for the pseudo-solution that Visual Studio creates when there is no real solution open.

Steps to recreate

  1. Open Visual Studio
  2. File->Open and select an individual JavaScript file
  3. Select CodeMaid->Options

Current behavior

An error dialog is shown stating "The path is not of a legal form."

Expected behavior

The options dialog should be shown as normal.

@codecadwallader
Copy link
Owner Author

var solutionPath = Path.GetDirectoryName(_package.IDE.Solution.FullName);

codecadwallader added a commit that referenced this issue Apr 9, 2016

Verified

This commit was signed with the committer’s verified signature.
macmv Neil Macneale V
…by VS to host individual files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant