导入现有项目

时间:2012-08-06 07:59:19

标签: c# .net wpf

我试图将this ListView project添加到我自己的内容中。如果我添加它然后使用"设置为启动项目"它可以正常工作。如果我使用我当前的项目并尝试使用以下方式打开它的主窗口:

    private void button4_Click(object sender, RoutedEventArgs e)
    {
        var newWindow = new ScottLogic.Window1();
        newWindow.Show();
    }

我收到此错误:

A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll

Additional information: 'Initialization of 'ScottLogic.Controls.FilterableListView' threw an exception.' Line number '159' and line position '18'.

我已经在参考文献中添加了项目,我在这里做错了什么?

谢谢你看看!

0 个答案:

没有答案