Skip to content

recommended approach of adding altcover to test-projects (for ci build only) #221

Closed Answered by SteveGilham
kimpenhaus asked this question in Q&A
Discussion options

You must be logged in to vote

The NU1008 error is a consequence of dotnet add package blindly inserting a versioned reference entry into the project, and not doing anything fancy by way of looking for an overriding central package file. If you add altcover to the central package version management file, and then only add it to the test projects on the CI machine ahead of testing, then it inserts an unversioned package reference that won't provoke that error, but will be inert otherwise

The "assemblies of interest" are the ones in the specified input directory that pass the supplied filters when the command line tool/MSBuild task/API call is invoked; with no filters meaning "all of them". In the case of the integration…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kimpenhaus
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants