首页 > 解决方案 > .Net项目解决冲突

问题描述

我有一个 .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?

标签: c#.netvisual-studiowcfmodel-view-controller

解决方案


推荐阅读