'None of the items in the selection are valid for this operation'
I get this occasionally when I close a solution, no other feedback or issues though.
Ryan
None of the items in the selection are valid for this ...
Moderator: SourceGear
-
- Posts: 10
- Joined: Thu Jan 19, 2006 5:11 am
I've tried to make this happen predictably for Vault people to test (if they choose to)... I have only been able to make it happen on a rather narrow set of circumstances:
1) Create a web project, add it to source control. Create is as a c# project so you can use code-behind coding style (a .cs file will be generated for every .aspx file).
2) Add a couple ASPX pages.
3) click the "+" sign by one of the pages so that the .CS filename is displayed. Do a check out on that file.
1) Create a web project, add it to source control. Create is as a c# project so you can use code-behind coding style (a .cs file will be generated for every .aspx file).
2) Add a couple ASPX pages.
3) click the "+" sign by one of the pages so that the .CS filename is displayed. Do a check out on that file.
4) Now do a checkin or undo checkout and close the solution. You will get the "None of the items in the selection are valid for this operation" message.Sidebar Note: At this point I always get a Vault error message: "Check out failed for XXX.aspx: You already have the file checked out." I guess someone's trying to check out the .aspx file twice. After dismissing the error message, the .aspx file appears to not be checked out (it has the lock icon by it), but in reality it is checked out, as confirmed by clicking "Refresh Status" on the VS2005 "Source Control" toolbar. Is this a fluke in my system, or is this a bug?
gabriel magana-gonzalez