asp.net-core - 在 appsettings.production.json 中,排除部分是什么?
问题描述
在 VS 2019 的 aspnet core 3.1 中,我创建了 appsettings.Productions.json。
为什么包含以下内容,这是什么意思?
"exclude": [
"**/bin",
"**/bower_components",
"**/jspm_packages",
"**/node_modules",
"**/obj",
"**/platforms"
]
解决方案
为什么包含以下内容,这是什么意思?
它用于排除文件夹列表,让语言服务知道哪些文件可以安全忽略。
应将输出位置以及非项目文件夹(例如node_modules
或bin
)添加到此设置中。
推荐阅读
- python - 无法从 JWT 导入 TokenObtainPairView、TokenRefreshView
- javascript - 如何让 Chrome 扩展程序休眠一段时间并在端口上发布消息
- python - 优化大型excel文件的处理
- javascript - 如何使用javascript为每个表行打印不同的值
- ide - Liferay Cloud IDE,多个开发人员在同一个 liferay 服务器上工作
- php - Laravel 将退出状态代码任意设置为自定义命令
- ios - 旋转图像后缺少缩放
- sql-server - 计算日期范围内的星期六数 - SQL
- javascript - 减少条件未定义的回报
- c# - 作为具有 ReactiveUI 的 ListViewItem DataTemplate 的一部分,无法将 ViewModel 绑定到 View