Disable automatic generation of datasources file when updating service references

懵懂的女人 提交于 2019-12-07 00:39:26

问题


We have a large solution with many service references and each time we need to update a service reference some .datasource files are generated. The problem with this is that these files have very long names and break the build process since the server that builds the solution can't handle such long names. As now we need to open up the servcice reference and manually delete the .datasource files. We don't have the rights to setup a rules blocking the files from checking which means that the update service references breaks the build from now and then.

We are using TFS 2008 and a project build in VS 2012

Is there any way to disable the autogeneration of these files?


回答1:


I have encountered the same problem , After I did not tried to reach a settlement ,

Add servicereference - advanced -add web reference and write url than dizayn client code.example

MobilServiceReference.MobileService service = new MobilServiceReference.MobileService();
secondLoginResponse = service.SecondLogin(password, sendedPassword, true, true, mobileTransactionHeader); 

Regards,



来源:https://stackoverflow.com/questions/18779934/disable-automatic-generation-of-datasources-file-when-updating-service-reference

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