WCF service in a precompiled web application - Could not load file or assembly
问题 I have a solution which contains multiple WAPs ( Web Application projects ). Every WAP has it's own Web Deploy project in order to be able to precompile these sites. On one of the web app we are created a new WCF file with AspNetCompatibilityRequirementsMode.Allowed In debug mode it is working ok, but if i switch to release it crashes: (we are using msbuild to create the deployable versions) Could not load file or assembly 'App_Web_*****, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'