Skip to content

Unit test projects doesnt recognize project referenced with PrivateAssets="all" #15

Answered by teneko
jeminpro asked this question in Q&A
Discussion options

You must be logged in to vote

One idea is to create another csproj, it may be a copy of your original but without PrivateAssets="all", and this is the .csproj you would reference in your test project.

Replies: 2 comments 1 reply

Comment options

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

You must be logged in to vote
1 reply
@teneko
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #14 on August 16, 2021 20:29.