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

codecadwallader opened this Issue Apr 6, 2016 · 1 comment


None yet
1 participant

codecadwallader commented Apr 6, 2016


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


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.


This comment has been minimized.


codecadwallader commented Apr 7, 2016

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment