Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't import ServiceReference1 from ASP.NET MVC4

What using statements do I need to get at the ServiceReference1 object in ASP.NET MVC4 application?

The ServiceReference1 here is the name of my service reference that I added. What's weird, is that if I double click on it, it doesn't bring up anything in the object browser...

Update: For some reason "Unchecking "Reuse types in referenced assemblies"" solves my problem!

enter image description here

like image 676
Andriy Drozdyuk Avatar asked Oct 26 '25 23:10

Andriy Drozdyuk


1 Answers

To add to your update, when you uncheck instead of all Reuse Types in referenced assemblies just uncheck what you need.

Not sure if there's much more you are looking for

like image 192
dove Avatar answered Oct 28 '25 16:10

dove



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!