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.
我想根据解决方案配置使用不同版本的外部库。 我有多个 c++ 项目的解决方案,所有这些项目都包括单个 .props,其中包含引用、包含、库、外部库的源路径等 。是否可以根据活动的解决方案配置将这些路径切换为不同的路径?
您必须为此目的使用项目配置,而不是解决方案配置。每个项目配置都可以有不同的项目属性,可以通过 .props 文件设置,也可以在项目文件本身中设置。