This time I must be migrate MVVMLight and replace it with Microsoft.Toolkit.MVVM.
In the documentation is written there's no direct replacement for IsInDesignMode, altered or remove it.
I don't know any option to alter it, can anyone help me ?
public MainViewModel()
{
//To Migrate GalaSoft there's no direct replacement for IsInDesignMode, remove
//if (IsInDesignMode)
//{
// // Code runs in Blend --> create design time data.
//}
//else
//{
// Code runs "for real"
this.app = (App)Application.Current;
//}
}