-
Notifications
You must be signed in to change notification settings - Fork 382
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
Test run fails when Oracle.ManagedDataAccess
is added
#189
Comments
Hey @henrihs, at this time Coverlet only has complete support for .NET Core and not the full framework. Bringing it to the full framework is definitely something I've thought about but so far there's been very little in the way of demand or perceived ROI. |
I see. It actually looks like it work pretty good, besides from this particular issue, that is. The coverage seem to be calculated correctly as well. |
Well there's nothing technically stopping Coverlet from working on .NET Framework, it's just not a scenario I've tested so there are definitely gonna be some kinks here and there. However, since |
[UPDATED]
|
This should be resolved in last version where we skip to instrument dll without pdb or local sources(embedded or not). |
First of all I want to thank you for the amazing tool you've made!
I've got this issue in a project which targets full framework (4.6.1), where the test run writes out this error during execution:
C:\Users\user\.nuget\packages\coverlet.msbuild\2.3.0\build\netstandard2.0\coverlet.msbuild.targets(16,5): error : Invalid directory size. [C:\work\temp\demotest\demotest.csproj]
I've been able to isolate the problem, and it seems to only occur when I add a reference to the package
Oracle.ManagedDataAccess
. The issue is not present when targetingnetstandard2.0/netcoreapp2.1
and usingOracle.ManagedDataAccess.Core
, but since this package still is in beta we're not able to ship software relying on it, yet.Steps to reproduce
Execute the following lines (was performed in wsl-terminal). I've truncated the classes to single lines to make it easier to copy-paste.
Issue
The first test run is successfully executed, and returns exit code 0.
As you can see, the latter test run writes out the error message mentioned in the top after build, before proceeding (and successfully executing) with the test run, and returns exit code 1.
The text was updated successfully, but these errors were encountered: