开发者

Do I have to convert my project file to use MSBuild 4?

开发者 https://www.devze.com 2023-03-14 10:19 出处:网络
I have a C# .proj file 开发者_Python百科that using .Net Framework 3.5. Currently the solution that ties the .proj files uses Visual Studio 2008. Our daily build currently uses MSBuild 3.5. I know that

I have a C# .proj file 开发者_Python百科that using .Net Framework 3.5. Currently the solution that ties the .proj files uses Visual Studio 2008. Our daily build currently uses MSBuild 3.5. I know that you can specify the TargetFramework in MSBbuild 4.

My question is: do I have to convert my project file using Visual Studio 2010? I am assuming the conversion only affects the .sln file.


Conversion using Visual Studio 2010 is the easiest way, but you can just update your project files manually: just add ToolsVersion="4.0" attribute on the Project node. So yes, you have to convert your .proj files too, changing only the .sln is not enough.

0

精彩评论

暂无评论...
验证码 换一张
取 消