简体   繁体   中英

Files not found in solution

Trying checkin my changes to TFS I get policy warning "some files were not found in current solution and cannot be analyzed".

政策警告截图

Double-clicking on the message I get the prompt "The following files were not found to be a part of any project in currently loaded solution. Source Analysis cannot be performed."

提示截图

That modal window is not resizable and not scrollable so I cannot even define what files exactly it says about.

Does anybody know what may be wrong with the project? How can I fix it?

Some details. I've made significant changes in the solution structure since my last checkin, particularly I've deleted two project and moved files of one to another.

Ok

you have a Code Analysis policy set against your source control. to find out why, you would need to speak to your TFS Admin, who hopefully will explain the checkin policy.

代码分析签入策略

To solve your problem, look through your pending changes and exclude any files that are not part of the current solution, as that is why you are not allowed to check-in. They may be files that you have haging around in your workspace, or they maybe files that you have worked on, but due to that policy being set, you can only check in files that are part of the current solution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM