Missing vcxproj.filters files in projects converted from VS 2010 to VS 2012

丶灬走出姿态 提交于 2019-12-10 18:53:59

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!