c# - .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?
解决方案
推荐阅读
- php - 获取分配给自定义帖子类型的标签
- sql - 使用 SSIS 将数据从 MariaDB 拉入 SQL Server 时的值错误
- python - 通过“加载更多”按钮使用 Python 在搜索结果中抓取 URL(保加利亚网站)
- php - 使用 axios 和 Vue 和 Laravel 进行发布请求
- html - CSS子元素无法识别父元素以正确对齐
- node.js - Mongoose 连接真的需要关闭吗?
- spring-boot - kafka zipkin拦截器的使用示例
- android - 片段中的共享首选项?
- bash - 从bash中的句子中删除特定单词?
- c# - 根据数组统一的值从脚本更改按钮的颜色