I have a console application, also I have added a service reference, it is working fine on the local PC.
But When I am trying to run the EXE file of it on the remote server, it's giving an error that the path not found as its targeting the local path on a server as well, please suggest to me a way to deploy it or how can I change the path of service ref so it should target server folder for service reference.
Please find attached a screenshot, Its being targeted to local path for reference.cs class
I have used below article to add wcf service ref, its working on local, and on server its targeting same path to get service ref classes.
consuming-wcf-service-in-console-application
Click to see screenshot
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…