Wrox Programmer Forums
BOOK: Professional C# 4.0 and .NET 4
This is the forum to discuss the Wrox book Professional C# 4.0 and .NET 4 by Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner; ISBN: 9780470502259
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 4.0 and .NET 4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 27th, 2010, 02:54 PM
Authorized User
Join Date: Jul 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 28 - MEF Architecture

Does anybody have a working copy of the code for MEF Architecture? I get the following runtime error message:

XamlParseException was unhandled

'The invocation of the constructor on type 'Wrox.ProCSharp.MEF.MainWindow' that matches the specified binding constraints threw an exception.' Line number '4' and line position '9'.

I have no idea what this means.

Old April 7th, 2011, 04:04 PM
Wrox Author
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts

Did you successfully build the solution including the post-build command steps to copy the addins to the addin-directory? If you use a different add-in directory you need to change the application configuration file.

CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 9, Linq to SQL, Listing 9-28, Error!!! mike_in_leeds BOOK: Professional ASP.NET 4 : in C# and VB 0 July 12th, 2010 04:15 PM
Chapter 28 code missing rCobbley BOOK: Excel 2003 VBA Programmer's Reference 0 November 1st, 2006 05:42 PM
Beginning C# Source code(Chapter 27,28) jiguang_ma Wrox Book Feedback 0 December 15th, 2005 08:25 AM
Chapter 28 - downloading assemblies Tangyu BOOK: Professional C#, 2nd and 3rd Editions 0 May 23rd, 2005 10:57 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.