Blog

Visual Studio

VB Forms .Net 5 LocalSettings Error

Ran into an error using VB (Visual Basic) with Windows Forms on .Net 5.0 framework. On app startup, received error for Windows.Storage.ApplicationData.Current.LocalSettings. Error shows as "System.InvalidOperationException: 'Exception of type 'System.InvalidOperationException' was thrown.'"

VB Forms .NET 5 LocalSettings Error

VB Forms .NET 5 LocalSettings Error 2