Change of Assembly Name causes Runtime Exception (Culture)

Viewed 787

I'm trying to change the name of the main assembly in a C# / WPF click once project so we can run both release and QA versions on the same machine.

I've read many sites suggesting the only thing needed is to change the Assembly Name and the Product Name via:

Properties >> Application >> Assembly Name

and

Properties >> Application >> Assembly Name >> Assembly Information

However, when ever I change the Assembly Name I get a runtime exception on the InitializeComponent(); line within MainWindow();

System.Windows.Markup.XamlParseException: ''Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.' Line number '6' and line position '9'.'
Inner Exception
FileNotFoundException: Could not load file or assembly 'AFIL, Culture=neutral' or one of its dependencies. The system cannot find the file specified.

AFIL was the old Assembly name so something is still expecting this even though I changed it in the Properties >> Application >> Assembly Name box followed by a Clean / Rebuild for the entire solution.

1 Answers
Related