【问题标题】:.Net Core JsonConfigSource could not find the existing file.Net Core JsonConfigSource 找不到现有文件
【发布时间】:2017-03-08 15:31:14
【问题描述】:

我认为这张照片让一切变得清晰。为什么?该文件只存在于那里!为什么我得到 FileNotFoundException?

完全糊涂了。

【问题讨论】:

    标签: c# configuration io .net-core


    【解决方案1】:

    当用户在文件夹中没有权限时也会发送此错误。我会检查在这个文件夹中运行应用程序的用户的权限。

    【讨论】:

    • 谢谢,这是一条线索。我试试看。
    • 不适合我。设置 dotnet.exe 和 Visual Studio 以管理员身份运行后,我仍然收到此错误。
    猜你喜欢
    • 1970-01-01
    • 2018-05-31
    • 2018-12-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-04-07
    • 2019-10-22
    • 2016-11-15
    相关资源
    最近更新 更多