ValueLocID属性保持还原为较早的值 [英] ValueLocID property keeps reverting back to earlier value

查看:103
本文介绍了ValueLocID属性保持还原为较早的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在使用我在网上找到的方法本地化一些.rdlc文件,你可以在其中设置要本地化的字符串的ValueLocID属性。 .resx文件中资源的名称。我遇到的问题是,当我回去并将ValueLocID更改为正确的值并再次构建解决方案时,我意外拼写错误并且
现在,它恢复到原始值。有人知道为什么会这样吗? 



提前致谢。

解决方案

嗨Aaron卖家,


您使用的是哪个版本的Visual Studio?


>>

我遇到的问题是我不小心拼错了它,现在当我返回并将ValueLocID更改为正确的值并再次构建解决方案时,它将恢复为原始值。


您的代码是什么样的?


请参阅以下链接中的
分步说明



https://www.codeproject.com / Articles / 16835 /本地化 - 全球化 - RDLC报告在ASP中


此外,我们的论坛正在讨论Visual Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统以及Visual Studio编辑器。


您的问题与ASP.NET开发有关,我建议您将一个新主题转发到以下论坛以获得专业答案。


https://forums.asp.net/


问候,


Judyzh


Hi all,

I am working on localizing some .rdlc files using a method I found online where you set the ValueLocID property of the string you want to localize to the name of the resource in your .resx file. The problem I have is that I accidentally misspelled it and now when I go back and change the ValueLocID to the correct value and build the solution again, it reverts back to the original value. Anybody know why this is happening? 

Thanks in advance.

解决方案

Hi Aaron Sellers,

Which version of Visual Studio do you use?

>> The problem I have is that I accidentally misspelled it and now when I go back and change the ValueLocID to the correct value and build the solution again, it reverts back to the original value.

What is your code like?

Please refer to Step-by-Step Instructions in following link.

https://www.codeproject.com/Articles/16835/Localization-Globalization-of-RDLC-reports-in-ASP

In addition, our forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

Your issue is related to ASP.NET develop, I suggest you repost a new thread to the following forum for a professional answer.

https://forums.asp.net/

Regards,

Judyzh


这篇关于ValueLocID属性保持还原为较早的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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