-
November 20th, 2020, 10:17 AM
#1
-
November 20th, 2020, 12:08 PM
#2
Re: Missing 'convenience filters after restoring from a backup
It seems to fix itself if I remove each project from the solution and then re-add it (it then comes back associated to its .filters file somehow). A bit annoying but at least it fixes itself...
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
November 21st, 2020, 05:33 AM
#3
Re: Missing 'convenience filters after restoring from a backup
Things seem to be going from bad to worse...
When I loaded that solution file this morning, all those projects have gone back to their jumbled state (i.e. with no filter folders any more). But that's not the worst of it... if I right-click on any of them and choose Properties, a message box appears saying:- There are no property pages for the selection
And even weirder.. the exact same project files can be loaded successfully into a newly created solution. So I'm guessing something in that solution has gotten corrupted somehow.
I've noticed that each VS2019 solution seems to contain 2 files called Browse.VC.db and Solution.VC.db. Does anyone know if those files can be safely deleted (i.e. will they get regenerated?) Or are there any others I should be looking at?
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
November 21st, 2020, 10:35 AM
#4
Re: Missing 'convenience filters after restoring from a backup
Try it. Make a copy of the complete solution and then delete the .db files.
-
November 21st, 2020, 12:16 PM
#5
Re: Missing 'convenience filters after restoring from a backup
Thanks Arjay - literally just a few minutes ago I think I found the problem
All of these project files share a common .props file which mostly contains a series of build paths to the other projects - but one of those paths had somehow acquired an @ character (and I think '@' is illegal in a filepath ??)
I haven't yet figured out how the @ character got there but I've corrected it manually and it seems to have fixed the problem. Total fluke that I found it...
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
November 21st, 2020, 01:57 PM
#6
Re: Missing 'convenience filters after restoring from a backup
Are you using source control? If not, you might consider it. It comes in handy for doing file diffs and seeing what's changed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|