Maui FileSystem.AppDataDirectory is throwing exception during unit testing

Kannan P S 5 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.

Developer technologies | .NET | .NET MAUI
{count} vote

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.