Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
考虑到我只更改了一个测试/单元测试项目,如果我尝试运行它,它会构建单元测试项目(已接受)和所有其他开发项目(这并不是真正需要的)。
我怎样才能避免这种情况?我在解决方案中有 100 多个项目,因此由于项目构建,每个单元测试用例的运行都需要很长时间。
你在使用访问器吗?MS 访问器可能会强制重建所有“依赖于访问器”的项目,这反过来可能会强制重建所有解决方案。
ps 这应该是对您的回答的评论,但我没有足够的代表点来添加评论。