Maui FileSystem.AppDataDirectory is throwing exception during unit testing

Kannan P S 0 Reputation points
2024-03-26T12:44:12.1533333+00:00

During the unit testing, microsoft.maui.applicationmodel.notimplementedinreferenceassemblyexception is throwing when using FileSystem.AppDataDirectory. The targetframework is net8.0.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
{count} votes