Skip to content

Fix strong name validation failures #303

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

Merged
merged 2 commits into from
Jan 24, 2019

Conversation

sharwell
Copy link
Contributor

This is a prerequisite for coverlet.msbuild.tasks working on .NET Framework (#299).

@tonerdo
Copy link
Collaborator

tonerdo commented Jan 16, 2019

@sharwell I think #286 already took care of this. Did you notice anything missing?

@codecov
Copy link

codecov bot commented Jan 16, 2019

Codecov Report

Merging #303 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #303   +/-   ##
======================================
  Coverage    87.5%   87.5%           
======================================
  Files          16      16           
  Lines        2041    2041           
======================================
  Hits         1786    1786           
  Misses        255     255

@sharwell
Copy link
Contributor Author

sharwell commented Jan 16, 2019

@tonerdo This is a different kind of failure. I verified that .NET Framework will not instrument assemblies without this change in place. Verified using AppVeyor builds 2.5.2+bf6db4dbf5 (without this change integrated) and 2.5.4+e7f54017e0 (with this change integrated).

Note that this change alone with not make .NET Framework scenarios work. #299 will be needed as well at a minimum. I recommend including #301 as well to make the whole testing and deployment process much easier (you get one-click automated releases).

@sharwell sharwell mentioned this pull request Jan 16, 2019
4 tasks
@ViktorHofer
Copy link
Contributor

Why do we need the new coverlet templates assembly at all?

@sharwell
Copy link
Contributor Author

@ViktorHofer There will be two copies of coverlet.templates in the NuGet package one way or the other. There doesn't seem to be any drawback to multi-targeting this assembly according to the runtime support.

For now, ConsoleTables is referenced as a source copy. It can be
replaced by a PackageReference as soon as the original adopts a strong
name.

See khalidabuhakmeh/ConsoleTables#30
@ViktorHofer
Copy link
Contributor

@tonerdo this is a simple change which resolves the long standing strong name validation errors that we were hitting in coverlet plus it removes a dependency which always nice. Can we get this merged?

@sharwell
Copy link
Contributor Author

... plus it removes a dependency …

This was an undesirable side effect of a bug outside control of this repository. I'm going to file a follow-up issue to switch back to using the dependency once the source bug has been resolved.

@tonerdo tonerdo merged commit 7f43e0b into coverlet-coverage:master Jan 24, 2019
@sharwell sharwell deleted the strong-name branch January 24, 2019 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants