appsettings.json 在 vs2017 项目探索中不在层次结构中 [英] appsettings.json not in hierarchy in vs2017 project explore

查看:22
本文介绍了appsettings.json 在 vs2017 项目探索中不在层次结构中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在 vs2017 中运行的 dotnet core 2.2 项目.然而,appsettings 发生了一些奇怪的事情.它看起来像这样

I have a dotnet core 2.2 project working in vs2017. However something weird is going on with the appsettings. It look like this

在我的其他人中,它看起来像这样

In my others soulutions it look like this

我似乎找不到两个项目设置之间的区别..

I cant seem to find the difference between the two projects setups..

有什么想法吗?

推荐答案

在解决方案资源管理器顶部检查您的嵌套设置

Check your nesting settings at the top of Solution Explorer

有关不同设置含义的更多信息,请访问 https://docs.microsoft.com/en-us/visualstudio/ide/file-nesting-solution-explorer?view=vs-2019

More info on what the different settings mean can be found at https://docs.microsoft.com/en-us/visualstudio/ide/file-nesting-solution-explorer?view=vs-2019

这篇关于appsettings.json 在 vs2017 项目探索中不在层次结构中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆