Click here to Skip to main content
15,795,712 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I am using Visual Studio 2013 in my mvc web Appln project,wsdl was added, When i am adding new wsdl file using 'Add Service Reference' in project then respective bindings tags are not created in web.config file .
I tried unchecking 'Reuse Types' the tick when we Select 'Add Web Reference'

I read many blogs and post but didnt got any solution
Posted
Updated 29-Dec-15 22:08pm
v2
Comments
Kornfeld Eliyahu Peter 30-Dec-15 3:06am    
maybe you should use the old 'Add Web Reference' version...
(Hit 'Advanced' - it is at the bottom of that window)
Karan Bhalerao 30-Dec-15 3:10am    
We have tried unchecking the Reuse libraries option in 'Advanced' window.
but that doesn`t work.
Kornfeld Eliyahu Peter 30-Dec-15 3:13am    
And since then you stopped reading?
Please do me a favor and read my comment again!!!
Karan Bhalerao 30-Dec-15 3:15am    
We are using new Web reference version. i understood what you said . its not working. The thing you said gives output based on old .net 2.0

We want to generate code in web.config . i am looking for Service Reference not web reference

1 solution

You may be looking in the wrong place. There are web.config files in the main project folder as well as each of the views folders. Look to see that you are setting it in the right place. Also, there may be web.config files for both debug and release, so make sure you are in the right place.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900