views:

17

answers:

1

I have two Visual Studio 2008 projects which are in the same solution.
How can I add a Web Reference to project A so that project B doesn't see it?

  • Project A needs web reference to WebService1
  • Project B shouldn't be able to see A.WebService1.* but needs reference to project A
  • I don't want to manually modify the generated classes for WebService1 in project A
A: 

add reference of project A to project B, I think that's a short cut if you are not using web sites

lakhlaniprashant.blogspot.com
That's what I already do. Project B needs to use some of the features of project A. But project B shouldn't see anything from the namespace A.WebService1.
Marc