简体   繁体   English

Visual Studio 2013 IIS调试器设置

[英]Visual Studio 2013 IIS debugger settings

I'm sure this question has been answered before, but I can't find it! 我确定此问题之前已经得到解答,但我找不到了!

So, I just reverted to VS 2013 because my subscription to VS 2015 lapsed and suddenly I've got errors in my app that weren't there before. 所以,我刚刚恢复到VS 2013,因为我对VS 2015的订阅失效了,突然间我的应用程序中出现了以前不存在的错误。 Specifically, this: 具体来说,这个:

GET http://localhost:54/i18n/en.json 404 (Not Found)

What I've found on StackOverflow points me towards a path setting, but where I'd go to set it, I've got no idea. 我在StackOverflow上发现的东西指向了我的路径设置,但是我要去设置它,我不知道。 Could someone point me in the right direction please? 有人能指出我正确的方向吗?

Standard disclaimer: really don't want to waste people's time, but since I've been on here for two years and still asked only 3 questions, I have to get my count up so I can at least thank people for their help. 标准免责声明: 真的不想浪费人们的时间,但是因为我已经在这里待了两年而且仍然只问了3个问题,所以我必须得到我的数量,所以我至少要感谢别人的帮助。 11 to go... 11去......

finally found an answer and added it to my web.config: 终于找到了答案并将其添加到我的web.config:

<system.webServer>
    <staticContent>
        <mimeMap fileExtension=".json" mimeType="application/json" />
    </staticContent>
</system.webServer>

Thanks for looking! 谢谢你的期待!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM