View Single Post
  #2 (permalink)  
Old June 20th, 2012, 03:27 PM
ChristianNagel ChristianNagel is offline
Wrox Author
Points: 1,163, Level: 13
Points: 1,163, Level: 13 Points: 1,163, Level: 13 Points: 1,163, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Sep 2010
Location: Austria
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts

Originally Posted by randaljay View Post
I'm looking at Chapter 28 code samples, and cannot reconcile the printed book with the downloaded code sample. Specifically, (using kindle, so please excuse the lack of page numbers!) just after snippet SimpleCalculator/Calculator.cs, the book contains "The hosting application is a simple console application". In the code I downloaded the host is a wpf app, and the code snippets that follow refer to the console app I can't seem to find. So, I tried to add my own...using Wrox.ProCSharp.MEF.Properties does not recognize properties namespace, nor does the import of the ICalculator interface work. What am I missing here? Is there any update to the code download?

Thanks for any help
The Properties namespace is coming from the normal Console app template. Did you change the default namespace to Wrox.ProCSharp.MEF? Then you should have the namespace Wrox.ProCharp.MEF.Properties. For the ICalculator interface, did you add a reference to the contracts-assembly?

Hope this helps
CN innovation
Visit my blog at:
Follow me on twitter: @christiannagel
The Following User Says Thank You to ChristianNagel For This Useful Post:
randaljay (June 20th, 2012)