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.
我有很多很多项目的解决方案。如何将目标框架更改为 .NET 4.0,而无需单独访问每个框架并手动更改下拉列表?
尝试比较 3.5 项目文件和 4.0 项目文件并使用基于文件的搜索/替换操作。
我认为只有这两个版本号不同:
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>