Forum Cross Platform with Xamarin

What project type do I use to unit test a library in my Xamarin Forms application?

I am wanting to create a new unit test project for my Xamarin Forms / iOS application. At the moment, I am interested only in testing a platform-independent module I have. This is of type Class Library and compiles against Target Framework .NET Standard 2.0.

When I choose Add | New Project | Test, I see project types for .NET Core and one for .NET Framework. If I choose the latter, I see only older versions of .NET. I don't see .NET Standard 2.0 mentioned anywhere.

Can anyone tell me which project type I should use of if there are any good guides on how to start with this stuff? Any advice would also be welcome.

Kind wishes - Patrick


Sign In or Register to comment.