排除网络资源被 babel 混淆?
我正在混淆一个包含嵌入式 Web 资源的 DLL,但是当我尝试使用 ScriptManager.RegisterClientScriptResource 将其添加到页面时,我收到 YSOD
Web 资源“NameSpace.JsFileName.js”未找到。
我正在通过 MSBuild 脚本混淆我的 DLL。我尝试将 ResourceEncryption 设置为 false 但没有运气,并且还尝试添加规则以定位 Resrouces 并将其设置为排除,但也没有运气。
有人知道如何防止我的网络资源被混淆吗?
非常感谢
马特
I'm obfuscating a DLL which contains an embedded webresource, however when I try to add it to the page using ScriptManager.RegisterClientScriptResource I get a YSOD
Web resource 'NameSpace.JsFileName.js' was not found.
I'm obfuscating my DLL via a MSBuild script. I've tried setting ResourceEncryption to false but with no luck, and have also tried adding a Rule to target Resrouces and setting them to exclude but with no luck either.
Does anybody have any ideas on how I can prevent my webresources from being obfuscated?
Many thanks
Matt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经设法通过将 WebResources 移动到它们自己的文件夹,然后针对该唯一命名空间的规则来解决这个问题,但是我仍然想知道是否有更好的方法来定位资源,以及为什么它们不是' t 受“资源”目标规则的影响。
I've managed to find away around this by moving the WebResources to their own folder, then targeting a rule at that unique namespace, however I would still like to know if there is a better way to target the resources, and why they aren't affected by the "Resources" targeted rules.