Litee / SolutionCop

Tool for static analysis of Visual Studio solutions
Apache License 2.0
23 stars 3 forks source link

'Warning level 0 is lower than required' false error #21

Closed sm-g closed 9 years ago

sm-g commented 9 years ago

csproj: http://pastebin.com/tipA27Lq

Litee commented 9 years ago

What level was specified in rules?

sm-g commented 9 years ago

4

Litee commented 9 years ago

Then there is no mistake - I can see in project settings that level 4 is provided for some configurations only - e.g. warning level 1 will be used for "Debug|x64".

Does it make sense?

sm-g commented 9 years ago

Oh, you are right of course. VS shows them as setted and I overlooked real xml. Maybe add some info to output about PropertyGroup condition?