PluralizationService当我发现奇怪的东西时,我正在浏览源头.在课堂上有几个反映不同复数规则的私人词典.例如:
private string[] _uninflectiveWordList =
new string[] {
"bison", "flounder", "pliers", "bream", "gallows", "proceedings",
"breeches", "graffiti", "rabies", "britches", "headquarters", "salmon",
"carp", "----", "scissors", "ch----is", "high-jinks", "sea-bass",
"clippers", "homework", "series", "cod", "innings", "shears", "contretemps",
"jackanapes", "species", "corps", "mackerel", "swine", "debris", "measles",
"trout", "diabetes", "mews", "tuna", "djinn", "mumps", "whiting", "eland",
"news", "wildebeest", "elk", "pincers", "police", "hair", "ice", "chaos",
"milk", "cotton", "pneumonoultramicroscopicsilicovolcanoconiosis",
"information", "aircraft", "scabies", "traffic", "corn", "millet", "rice",
"hay", "----", "tobacco", "cabbage", "okra", "broccoli", "asparagus",
"lettuce", "beef", "pork", "venison", "mutton", "cattle", …Run Code Online (Sandbox Code Playgroud) 我正在开发一个小网站,我决定尝试ASP.NET MVC 6.我在我的计算机上编写了一些代码,现在我想在服务器上测试它,首先在Visual Studio中进行调试.我复制了整个解决方案文件夹并粘贴在服务器上,但我无法运行该项目.VS抱怨:
The selected debug option is IIS Express but this project is not a web project. To use IIS Express you need to add the wwwroot attribute to project.json.
Google不会为错误消息返回任何内容,这始终是一个不好的信号.显然wwwroot文件夹有问题,但我不明白它试图告诉我什么.请注意,解决方案资源管理器中的wwwroot显示为普通文件夹(与我在开发机器上的globe图标相对).
我从模板中创建了项目,所有内容都是开箱即用的.复制项目时我错过了什么吗?