问题
I am moving my solution to a TFS environment. several (8) "old" C++ projects that were created in VS 2010 and migrated to VS 2012 are missing the vcxproj.filters file. These projects appear happy and content to live without the .filters, but when I try to add them to TFS 2012 from within visual studio (not from the external source control tool) in order to have a source-control binding in the project file, I get errors due to the missing filters file.
Did anyone encounter a similar problem? any solution?
thanks,
回答1:
ok. so there is a very easy solution to this: just add a file filter (project -> add -> add new filter). this cause VS to create the filters file for you...
apparently this only happens if you don't have any filter (folder) in your project.
来源:https://stackoverflow.com/questions/15600113/missing-vcxproj-filters-files-in-projects-converted-from-vs-2010-to-vs-2012