I've been trying to use your package in VSIX project. Everything works until I try creating a node, which throws an exception:
"System.IO.FileNotFoundException: 'Could not load file or assembly 'PropertyTools.Wpf, PublicKeyToken=ea0c9f2b460934d0' or one of its dependencies. The system cannot find the file specified.'
The code is pretty much copied from Calculator example:
protected virtual void FlowChart_ContextMenuItem_Click(object sender, RoutedEventArgs e)
{
var menuItem = sender as MenuItem;
var nodeType = menuItem.CommandParameter as Type;
FlowChartView flowChartView = FlowChartViewModel.View;
FlowChart flowChart = flowChartView.ViewModel.Model;
flowChart.History.BeginTransaction("Creating node");
{
NodeGraphManager.CreateNode(
false, Guid.NewGuid(), FlowChartViewModel.Model, nodeType,
_ContextMenuLocation.X, _ContextMenuLocation.Y, 0);
}
flowChart.History.EndTransaction(false);
}
Calculator example works fine. I've tried adding PropertyTools and PropertyTools.Wpf packages, but that didn't make any difference.
I've been trying to use your package in VSIX project. Everything works until I try creating a node, which throws an exception:
"System.IO.FileNotFoundException: 'Could not load file or assembly 'PropertyTools.Wpf, PublicKeyToken=ea0c9f2b460934d0' or one of its dependencies. The system cannot find the file specified.'
The code is pretty much copied from Calculator example:
Calculator example works fine. I've tried adding PropertyTools and PropertyTools.Wpf packages, but that didn't make any difference.