WP7 App Development Error: Icon file ApplicationIcon.png not found. Make sure that the file is present in the application

Check the properties of the ApplicationIcon.png in Visual Studio.

The build action needs to be Content.

If you by chance exclude the icon file from the project and then re add it, the build actions gets set to “Resource”. Revert it to “Content” and things should be fine.

Error: Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=#.0.0.0, Culture=neutral, PublicKeyToken=####’.

Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089’.

As per MSDN blogs this error can occur when IIS is installed after installing .NET Framework 4, or if the 3.0 version of the WCF Http Activation module is installed after installing IIS and .NET Framework 4.

I did install v3.0 of WCF Http Activation module after installing IIS and .Net Framework 4.0

To resolve this problem, I used the ASP.NET IIS Registration Tool (aspnet_regiis.exe,) to register the correct version of ASP.NET by using the –iru parameters as follows:

aspnet_regiis.exe -iru