Click here to Skip to main content
15,889,644 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to write some output from a Roslyn Analyser. There are two issues here, firstly the additional files example I am following is returning 0 as the number of additional files.

Assuming the load issue gets solved, I can write an entry for every violation but I would prefer to just write the total at the end, but I cannot find any info on line for writing a final status by namespace and class from an analyzer when it is done with a .cs

What I have tried:

I have been following this: article, but I am not getting file in.

The second part, a single summary by namespace and class as opposed to line by line is a very nice to have but I can work without it.

Update
The reason AdditionalFiles failed to perform was because I expected file to be placed in the project folder of the analyzer, but it must be placed in the project folder of the analyzee. I will leave the question open because I would welcome suggestions still on how I might open it at solution level.
Posted
Updated 11-Sep-18 22:04pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900