Last post Mar 24, 2016 07:12 AM by Chris Zhao
Mar 23, 2016 06:14 AM|vyanky|LINK
I have create one asp.net web application in which I am using ASP.net web service. I added web reference in the site in vs 2012 and its working fine.
But When I am publishing it in one folder its not publishing any file related to web-reference. How could I change the path of webservice reference to new path in published files on another machine.?
Any body face this type of issue ? Please suggest.
Mar 23, 2016 07:28 AM|bcs247|LINK
Try with redirect to web folder ?
Mar 24, 2016 07:12 AM|Chris Zhao|LINK
You can add the DLL to your project, and change the Copy to Output Directory property to Copy Always.
To add references to assemblies that have secondary references
1.In Solution Explorer, click the project name.
2.On the Project menu, click Add Existing Item.
3.Browse to the assembly, and click Add.
4.In Solution Explorer, click the assembly.
5.In the Properties window, set the Copy to Output Directory property to Copy always.
How to: Publish Referenced Assemblies