Find unreferenced .meta files in Visual Studio

Has anyone written a VS script that looks for unreferenced .meta files and includes them in the solution?

I need this because of uploading to the source control (TFS). For now I’m doing it by hand, and it is error-prone, because you usually don’t look in all folders.

if you click a single time onto unity so it gets focused it will remove all metas that don’t relate to existing assets right away.

thats likely the best way to find unneeded metas and especially to update changed metas cause nothing would be worse than sending through broken metas :slight_smile:

Yes, I know, but after you switch to Visual Studio, it doesn’t now about the change - you gotta know what meta files are added and look for them in the VS solution. You have to click many many folders and press “Refresh” button each time. Boring!