Thursday 23 October 2008

"The path is not of a legal form" designer error


If you ever come across the infamous "The path is not of a legal form" error which prevents you from viewing components in design view (but still build and function correctly at run time) then check your references!

The best thing to do is:
1. Right click the solution and execute the "Batch Build" command.
2. Select all projects and clean them.
3. Select all projects and do a build. This will highlight any 'bad' project
references.

You can then either choose to remove these references or re-reference them.

Your design view will then function correctly.

No comments: