Comments (7)
Thanks for reporting this.
I will have a look. Probably I will remove log4net completely.
from reportgenerator.
I removed the dependency to log4net
Could you please try again? Any other issues with mono/linux?
https://www.nuget.org/packages/ReportGenerator/2.3.1-beta1
from reportgenerator.
Thanks for the update, different log4net error this time. I'm running on a 64bit Linux, I'm guessing you compiled for 32 bit?
-------- uname -a ------
Linux bert-XXXX 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
-----error-------
[BUILD] Executing tests in TestFirst.Net.Tests for coverage
log4net:ERROR Could not create Appender [ColoredConsoleAppender] of type [log4net.Appender.ColoredConsoleAppender]. Reported error follows.
System.EntryPointNotFoundException: GetConsoleOutputCP
at (wrapper managed-to-native) log4net.Appender.ColoredConsoleAppender:GetConsoleOutputCP ()
at log4net.Appender.ColoredConsoleAppender.ActivateOptions () [0x00000] in :0
at log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender (System.Xml.XmlElement appenderElement) [0x00000] in :0
log4net:ERROR Appender named [ColoredConsoleAppender] not found.
xdg-open: unexpected argument '/s'
Try 'xdg-open --help' for more information.
No report files specified.
Unhandled Exception:
System.DllNotFoundException: kernel32
at (wrapper managed-to-native) Palmmedia.ReportGenerator.Reporting.FileUnblocker:DeleteFile (string)
at Palmmedia.ReportGenerator.Reporting.FileUnblocker.Unblock (System.String fileName) [0x00000] in :0
at Palmmedia.ReportGenerator.Reporting.MefReportBuilderFactory.LoadReportBuilders () [0x00000] in :0
at Palmmedia.ReportGenerator.Reporting.MefReportBuilderFactory.GetAvailableReportTypes () [0x00000] in :0
at Palmmedia.ReportGenerator.ReportConfiguration.Validate () [0x00000] in :0
at Palmmedia.ReportGenerator.Program.Execute (Palmmedia.ReportGenerator.ReportConfiguration configuration) [0x00000] in :0
at Palmmedia.ReportGenerator.Program.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: kernel32
at (wrapper managed-to-native) Palmmedia.ReportGenerator.Reporting.FileUnblocker:DeleteFile (string)
at Palmmedia.ReportGenerator.Reporting.FileUnblocker.Unblock (System.String fileName) [0x00000] in :0
at Palmmedia.ReportGenerator.Reporting.MefReportBuilderFactory.LoadReportBuilders () [0x00000] in :0
at Palmmedia.ReportGenerator.Reporting.MefReportBuilderFactory.GetAvailableReportTypes () [0x00000] in :0
at Palmmedia.ReportGenerator.ReportConfiguration.Validate () [0x00000] in :0
at Palmmedia.ReportGenerator.Program.Execute (Palmmedia.ReportGenerator.ReportConfiguration configuration) [0x00000] in :0
at Palmmedia.ReportGenerator.Program.Main (System.String[] args) [0x00000] in :0
from reportgenerator.
Thanks for trying out.
Log4net should not be present at all. I removed it completely. If the DLL still exists in your installation directory, you can delete it. The Nuget package does no more contain the DLL.
I think the root cause here is, that the FileUnblocker uses a native function.
I will try to replace that too, or only call the function on Windows.
from reportgenerator.
Could you please try this beta:
https://www.nuget.org/packages/ReportGenerator/2.3.1-beta2
I was able to able to generate a report using Mono on Ubuntu.
from reportgenerator.
Brilliant! Seems to be working. Can't fully test yet as some other lib is causing issues but it looks like the generator is happy.
Many thanks
from reportgenerator.
Final release now available: https://www.nuget.org/packages/ReportGenerator/2.3.1
from reportgenerator.
Related Issues (20)
- minimumCoverageThresholds:lineCoverage not working HOT 12
- Issue with -reporttypes field HOT 1
- Wiki Edit HOT 1
- Unable to convert opencoverxml file into corbertura.xml file using ReportGenerator in Azure Devops Pipeline HOT 3
- Release notice confuses me. HOT 1
- Why is the reportgenerator command installed using the dotent not working? HOT 2
- Report generated is always at version 5.1.14.0 on AzureDevops HOT 1
- Allow to specify the root path HOT 1
- Question: Is the format created by the CTC++ tool supported as input for report generator? HOT 2
- MS Coverage output isn't cleaning compiler generated methods/types HOT 13
- Ability to exclude classes from Risk Hotspots HOT 6
- Error while converting jacoco report to cobertura HOT 12
- Suggestion for new report type: MarkdownTableShortSummary HOT 2
- Sonarqube format clashes with DeterministicSourcePaths=true HOT 5
- Azure DevOps task option publishCodeCoverageResults doesn't work with relative targetdir path HOT 2
- Azure pipeline failure due to dependency on NodeJS version 6 HOT 3
- Docs/readmes: add info about `minimumCoverageThresholds` HOT 2
- ReportGenerator 5.3.1 fails on self hosted azure devops agent running on Amazon Linux 2 arm64 instance (t4g) HOT 2
- Question about lcov conversion HOT 4
- Strange source file references in a HTML report from dotnet-coverage on Linux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reportgenerator.