我有一个.Net解决方案,其中包含各种项目:MVC,WCF,类库等。
当我尝试发布WCF应用程序时,我收到以下异常:
Could not load file or assembly 'System.Web.WebPages.Razor,
Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or
one of its dependencies. The system cannot find the file specified.
为什么WCF应用程序需要Razor DLL?