-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I downloaded the script in a test forler where I also added a start.csx file
whith your proposed code
var wpf = Require<Wpf>();
wpf.RunApplication("CalculatorView.xaml", new CalculatorViewModel());
wpf.RunApplication<CalculatorViewModel>("CalculatorView.xaml");
wpf.RunApplication(new CalculatorViewModel()); // Uses convention to find View for ViewModel
wpf.RunApplication<CalculatorViewModel>(); // Uses convention to find View for ViewModel
wpf.RunApplication("CalculatorView.xaml") // No ViewModel
The execution ended by generating this error
ERROR: Script compilation failed: C:\start\start.csx(2,47): error CS0246: The type or namespace name 'CalculatorViewModel' could not be found (are you missing a using directive or an assembly reference?).
I tried to verify the your scriptpack references it seems to be OK. However this error leads me to have a doubt about somme missing assembly references
Looking forward for an answer
Metadata
Metadata
Assignees
Labels
No labels