Just a couple of notes that may be helpful:
Problem: Build error similar to "Cannot import the following key file: [your_key_file].pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: [your_key]"
Solution: Open the Visual Studio Command Prompt, then execute the following - sn -i [your_key_file].pfx [your_key]
Target Framework Issues
Problem: Build error similar to "The referenced assembly "log4net, Version=126.96.36.199, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project."
Solution: Change the target framework of the project to one of the non-client frameworks (e.g., .NET Framework 4 instead of .NET Framework 4 Client Profile).