[英]scriptcs: how to load a web reference
I have a microsoft reporting server that i'd like to create some scriptcs against. 我有一个Microsoft报表服务器,我想针对它创建一些脚本。
I know how to do this from within a VS project, by adding a web reference to some resource such as: https://rsdev1.myDomain/RSDEV1/ReportService2005.asmx 我知道如何通过在VS项目中通过向某些资源添加Web引用来做到这一点,例如: https://rsdev1.myDomain/RSDEV1/ReportService2005.asmx
How does one accomplish this from a .csx? 如何通过.csx完成此操作?
thanks 谢谢
我通过创建一个类型类库的vs项目解决了这个问题,然后将此dll复制到我的scriptcs bin文件夹后,一切正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.