-
Notifications
You must be signed in to change notification settings - Fork 19
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
Instrumentation Error with .NET Core 3.1 #87
Comments
Could not repro with a freshly created docker machine. The message
would appear to indicate some failure or corruption in the installation of the NuGet package, as that assembly forms part of the package manifest. |
@SteveGilham ok, weird. I am currently also not able to reproduce this issue in a GitHub Actions pipeline. We could reproduce the issue on two different systems (ubuntu and mac os) with a different repository. On my local machine this issue is also appearing in the docker build of the example repository. We have also discovered that we can not reproduce the issue with version 6.8.761 of altcover. |
There was some issue (can't recall details at this remove) I had when rolling out the .net core support a couple of years ago, where Newtonsoft.Json was implicated the cause of build (strictly, the whole build-and-validate process) failures. I finally resolved that problem by static-linking that assembly into the main executable. The .net 3.1.300 SDK had a regression which affects that static linkage, so the 7.x releases have been built without that step, but have seemed to function OK without it. Release 6.8.761 is the last that was done with an older .net SDK and thus with the static linking happening; so if there is a re-emergence of the original problem I had, whatever it was, or something very like, then sticking with a 6.x version would avoid it. |
Release 7.1.778 replaces the Newtonsoft assembly that is at the root of the issue, plus tidies up the downstream failures. |
@SteveGilham I can confirm that this issue is fixed with version 7.1.778 |
…[Nullable] kills later version linkage. Hope this doesn't regress #87
Altcover does not seem to work with .NET Core 3.1 (haven't tried with older versions). It fails during the instrumentation phase with the following error:
I have set up a repository, which can be used to reproduce the error with a Docker image build: https://github.com/PSanetra/reproduce-altcover-error
The text was updated successfully, but these errors were encountered: