I just downloaded the trial for MM and ran through the Business Objects Framework then the jump start for a WPF app.
When I run the WPF app I get the error:
"The calling thread must be STA, becuase many UI components require this"
This occurs very early in the app startup on the constructor statement 'public MainWindow()':
public partial class MainWindow; mmMainAppWindow
public MainWindow();
{
InitializeComponent();
}
I see plenty of Google responses to this issue with respect to Nunit testing. But I never had the issue when I ran NUnit against the Business Object DLL. This only happens running the WPF app project.
How do I fix this, as it is all just generated code? I assume perhaps I misnamed one of the objects in the jump start?