[Visual Studio]如何更新国外网页参考?

发布于 2024-09-24 16:06:33 字数 266 浏览 0 评论 0原文

我有一台使用 Microsoft CRM 的服务器。 MS CRM 自动生成网络参考。我接管了别人的应用程序代码(连接到 CRM 的应用程序)。我希望在本地计算机上进行开发,但他们给我的参考资料不是最新的。我想使用引用上的右键单击/更新来更新它们。

但它需要名称/通行证身份验证。如果我正常连接到服务器,我可以通过浏览器看到 aspx 页面,但是在我的 VS 参考中使用相同的链接,我无法更新我的服务器连接信息,它不会让我这样做。

我该如何继续更新参考文献?

非常感谢!

I have a server where I use Microsoft CRM. MS CRM auto-generate web references. I take over someone else's application code (an application which connects to CRM). I expect to develop on my local machine, but the references they gave me are not up to date. I want to update them using the right-click/update on the reference.

But it requires a name/pass authentication. If I connect to the server normally, I can see the aspx page by the browser, but using the same link in my VS reference, I can't update with my server connection infos, it won't let me.

How do I have to proceed to update the references?

Thank you very much!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

那些过往 2024-10-01 16:06:33

VS中的“更新服务参考”实际上使用svcutil.exe(或< a href="http://msdn.microsoft.com/en-us/library/7h3ystb6%28VS.71%29.aspx" rel="nofollow">wsdl.exe 这是 WCF 之前的工具),生成代理类。两者都具有命令行选项,可让您指定身份验证详细信息,因此您可以在指定凭据时使用命令行生成服务引用。

"Update Service Reference" in VS actually uses svcutil.exe (or wsdl.exe which was the tool pre-WCF), to generate the proxy classes. Both have command line options that let you specify your authentication details, so you can use command-line to generate the service reference while specifying your credentials.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文