Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shut down after the launch #45

Closed
Yefimov opened this issue Apr 10, 2016 · 3 comments
Closed

Shut down after the launch #45

Yefimov opened this issue Apr 10, 2016 · 3 comments

Comments

@Yefimov
Copy link

Yefimov commented Apr 10, 2016

I cloned ReportGenerator from this repository, then compiled it on my VisualStudio 2015 and ReportGenerator just shuting down after the launch.
image

ReportGenerator 2.4.4.0
Copyright c Palmmedia 2015

Parameters:
["]-reports:[;][;]["]
["]-targetdir:["]
[["]-reporttypes:<...>[;<...>]["]]"
[["]-sourcedirs:[;][;]["]]
[["]-historydir:["]]
[["]-assemblyfilters:<(+|-)filter>[;<(+|-)filter>][;<(+|-)filter>]["]]
[["]-classfilters:<(+|-)filter>[;<(+|-)filter>][;<(+|-)filter>]["]]
[["]-verbosity:<Verbose|Info|Error>["]]

Explanations:
Reports: The coverage reports that should be parsed (separated by semicolon). Wildcards are allowed.
Target directory: The directory where the generated report should be saved.
Reporttypes: The output formats and scope (separated by semicolon).
Values:
Source directories: Optional directories which contain the corresponding source code (separated by semicolon).
The source files are used if coverage report contains classes without path information.
History directory: Optional directory for storing persistent coverage information.
Can be used in future reports to show coverage evolution.
Assembly Filters: Optional list of assemblies that should be included or excluded in the report.
Class Filters: Optional list of classes that should be included or excluded in the report.
Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
Verbosity: The verbosity level of the log messages.
Values: Verbose, Info, Error

Default values:
-reporttypes:Html
-assemblyfilters:+*
-classfilters:+*
-verbosity:Verbose

Examples:
"-reports:coverage.xml" "-targetdir:C:\report"
"-reports:target**.xml" "-targetdir:C:\report" -reporttypes:Latex;HtmlSummary
"-reports:coverage1.xml;coverage2.xml" "-targetdir:report"
"-reports:coverage.xml" "-targetdir:C:\report" -reporttypes:Latex "-sourcedirs:C:\MyProject"
"-reports:coverage.xml" "-targetdir:C:\report" "-sourcedirs:C:\MyProject1;C:\MyProject2" "-assemblyfilters:+Included;-Excluded.*"
Press any key to continue . . .

@danielpalme
Copy link
Owner

Well you should have a look at the printed help.
The parameter "-reports" and "-tagetdir" are required.

@Yefimov
Copy link
Author

Yefimov commented Apr 10, 2016

@danielpalme, i don't know where i have to write this parameters. In console? It just shuting down.

@danielpalme
Copy link
Owner

Yes of course. Do you know what this tool is doing?
Example:
ReportGenerator.exe "-reports:coverage.xml" "-targetdir:C:\report"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants