Hey Ammad, welcome to our community!
Would love to know more about what you’re building , and feel free to Introduce yourself 🙆 if you’d like.
I can think of a few things that might be going on:
- make sure your using .NET Standard 2.0 and not any later ones (2.1 is already not compatible with .NET Framework 4.6)
- where and how are you getting that error? Is your code running as a Revit plugin? In what Revit version?
- there might be also an issue with our converter nugets and the xUnitRevit nugets targeting different verisons of the Revit API. I’d suggest unloading each separately and seeing what happend!