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.
我有许多使用 nAnt 构建的不同项目。在 nAnt 内部,我使用 MSBuild。我的问题是,我可以将找到 MSBuild 的路径设置为 C:\Windows\Microsoft.NET\Framework\v4.0.30319 并让它同时构建 3.5 项目和 4.5 项目,还是我必须专门使用 MSBuild对于 3.5 个项目?我需要确保 3.5 项目保留并且仅在 3.5 中编译,而不是在 4.5 中编译。
是的,您应该能够使用 .NET 4.5 中的 MSBuild 毫无问题地构建 .NET 3.5 项目。