Quantcast
Channel: MSBuild Extension Pack
Viewing all articles
Browse latest Browse all 1211

Created Issue: StyleCop NullReferenceException [10094]

$
0
0
MSBuild Extension Pack November 2011 & StyleCop 4.6

We have problems with a NullReferenceException on line 227 in StyleCop.cs.
We do not know the reason.

Fix:
foreach (ITaskItem i in this.FailedFiles)
{
if (i != null)
streamWriter.WriteLine(i.ItemSpec + " (" + i.GetMetadata("CheckId") + ": " + i.GetMetadata("Message") + " Line: " + i.GetMetadata("LineNumber") + ")");
}

Viewing all articles
Browse latest Browse all 1211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>