VisualStudio 2017 - 无法添加resx文件

时间:2017-08-09 13:53:45

标签: visual-studio xamarin resx

我尝试按照本教程在我的xamarin.form应用程序中设置本地化:https://developer.xamarin.com/guides/xamarin-forms/advanced/localization/

但是当我进入菜单时,添加新项目'在2017年,我无法找到创建资源文件的选项。这是为什么?解决方案是什么?

no resx file

3 个答案:

答案 0 :(得分:1)

通过在搜索框中输入单词resx,您将无法找到资源文件的模板。您必须单击“常规”选项卡并找到“资源文件”选项。

如果这不起作用,您应该从Visual Studio安装程序repair Visual Studio

答案 1 :(得分:0)

就我而言,我不得不修改安装并检查 .NET桌面开发

那解决了我的问题

.NET desktop development

答案 2 :(得分:0)

显然,这已在VS2017中解决 https://developercommunity.visualstudio.com/content/problem/85616/add-new-item-resource-file-resx-missing.html 但我必须使用相同的修复程序才能使其在VS2019中工作

相关问题