错误:在文件中找不到中性语言版本资源 [英] Error: No neutral-language version resource found in the file

查看:51
本文介绍了错误:在文件中找不到中性语言版本资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 TFS 2015 CI 发布我的应用程序,但在 Nuget Restore 期间.我遇到了错误.

I am using TFS 2015 CI to publish my application but during Nuget Restore. I am getting error.

"Error: No neutral-language version resource found in the file"

我在我的项目中添加了中性语言,但它根本不起作用.

I have added neutral-language to my project but its not working at all.

你们遇到过这个错误吗?

Have you guys ever faced this error?

推荐答案

您使用哪个 Nuget 版本?似乎 Nuget 版本 4.x 有问题.

Which Nuget Version do you use? Seems the Nuget version 4.x have issues.

您看到的消息与nuget任务中的一些代码有关我们试图检测 nuget 版本及其相关联的地方'怪癖'.较新版本的 nuget(例如 4.x)问题较少.

The message you are seeing is related to some code in the nuget task where we are trying to detect the nuget version and its associated 'quirks'. Newer versions of nuget (e.g. 4.x) have fewer issues.

源链接:NuGet 恢复间歇性失败 #4759

作为一种解决方法,您可以回退到 NuGet 3.5.在要使用的 NuGet.exe 路径 中指定3.5.0"作为 NuGet 的版本.

As a workaround, you can fall back to NuGet 3.5., specify "3.5.0" as the version of NuGet in Path to NuGet.exe to use.

这篇关于错误:在文件中找不到中性语言版本资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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