❔ ✅ using Xunit; does not work in visual studio
As far as I was aware its shipped with .Net when u install C# development, but when I try to import it it does not work.
11 Replies
got one solution and two projects.

did you create your projects from an xUnit template?
yes
if you didn't then you will need to add the xunit packages yourself
I can retry though
give me a second
@Jimmacle the application im going to unit test can just be a normal console application right?
shouldn't xunit be in the packages?
under dependencies

this one right?
Ok it works now, I might've misclicked or something
apologies for this stupidity
could have been nuget packages didn't automatically restore or something
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.