hi All,

I just upgraded my machine to vista and the Woodgrove Sample app now fails to run at all. I added a try catch and get and error about cannot create instance of 'StockHost' defined in assembly 'WoodGroveFinanaceHost, Version=1.0.2761.24172, Culter=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error at object 'System.Windows.Controls.Grid' in markup file 'WoodgroveFinancialApplication;component/page1.xaml' Line 9 Position 8.

Does anyone have any ideas

Thanks in advance


Re: Windows Presentation Foundation (WPF) Woodgrove Sample stopped working once upgraded to Vista

Yi-Lun Luo - MSFT

Hello, it looks like they’ve made a mistake… Open StockHost.xaml, find this line:

<XmlDataProvider x:Key="PortfolioDataSource" d:IsDataSource="True" Source="pack://application:,,,//FinanceExplorer//Equity.xml"/>

Replace the double slashes with single slash except the first one:

<XmlDataProvider x:Key="PortfolioDataSource" d:IsDataSource="True" Source="pack://application:,,,/FinanceExplorer/Equity.xml"/>

Now try to run the application.