Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Need to have Nuget package with transitive reference overridden by local reference for unit test

$
0
0

In my Solution, I have an unit test project A.

My test project A has a direct nuget reference to package B witch include a transitive reference to nuget package C.

My test project A has also a local reference to local project C'.

So, in my project A, I have both local reference to C' an nuget reference to C.

And this is the nuget applied and not the local reference...

I want to apply local reference for my tests.

To resume :

  • A (unit test) > B (direct nuget) > C (transisive nuget)
  • A (unit test) > C' (local reference)

My project is in .net framework 4.6.1


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>