开发者

.csproj file formatting options in visual studio

I'm on a small team of developers using visual studio 2010. Some of our workstations save .csproj files with xml开发者_开发问答 elements ending with a space like this:

<someelement attribute1="whatevz" />

Other workstations save .csproj files with elements ending without space like this:

<someelement attribute1="whazzup"/>

This causes undue noise in our source control commits. I assume it's caused by a preference one can set in visual studio. Am I right? How do we adjust this preference?


Personally as a dev lead one night, i would make sure all devs have all source checked in and then do a Force Get Latest if you are using TFS...that way you are assured that everyone has the same exact files byte-for-byte.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜