Cannot find 'ServiceReferences.ClientConfig' in the .xap application package when running Silverlight unit tests

When using the browser-based Silverlight unit testing framework to test a SL app which contains service references you might get a Cannot find 'ServiceReferences.ClientConfig' in the .xap application package error. You cannot just add a deployment item to the current test config as SL tests don't seem to use this. A quick fix to this is to add a linked file to ServiceReferences.ClientConfig in your test project.

Add comment

Loading