Uncheck the option "Delay sign only" under the project's Properties>Signing area. Also, if "Sign the assembly" is checked, then you need to have a valid strong name key file in the box below it.