We use TFS 2010 for server builds. I would like to turn some of the less useful warnings off. I can achieve that by specifying custom MSBuild arguments:
/p:NoWarn=1591
It works for a solution with C# projects. However, we have one solution that also has some VB.NET projects in it. VB.NET compiler doesn't have the warnings that C# compiler has, so I get the following error message:
vbc: warning number '1591' for the option 'nowarn' is either not configurable or not valid
Is there a way to achieve this for solution that include projects in several .NET languages without specifying list of ignored warnings separately for every project in the solution?