ClickOnce: Value does not fall within the expected range

☆樱花仙子☆ 提交于 2019-12-05 02:08:25
m1m1k

If you are trying to run the clickonce on a UNC share, it may not work. I was getting the same result as yours above, but I just tried deploying to C:\ instead of our share, and it runs just fine. Also, check to make sure you don't have any & ampersands in your deploy path as this seems to muck it up.

Also check out the list of things to check for on this post. "Value Does not fall in the expected range" ClickOnce Deployment

This is a bit delayed, but I found the only solution to solve my problem was this one:

99.9% of the time, "value does not fall within expected range" means you have circular references, or references to two different versions of the same assembly.

From here: https://social.msdn.microsoft.com/Forums/windows/en-US/e6c0a0ca-fbf0-47e2-8681-bc03471d09f6/value-does-not-fall-within-the-expected-range?forum=winformssetup

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!