Why VS2008 sucks today
-
In my WCF client project I have "Reuse types in referenced assemblies" option enabled. But every time when I update the service reference, it regenerates all the types and compilation fails because of multiple types with same name. I am modifying the references file manually to correct this now :doh:
Best wishes, Navaneeth
-
In my WCF client project I have "Reuse types in referenced assemblies" option enabled. But every time when I update the service reference, it regenerates all the types and compilation fails because of multiple types with same name. I am modifying the references file manually to correct this now :doh:
Best wishes, Navaneeth
do't do that! I found it more reliable more simple more betterer to just reference the same contract and data assembly on both the client and server side than using VS's autogenerated service reference!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
In my WCF client project I have "Reuse types in referenced assemblies" option enabled. But every time when I update the service reference, it regenerates all the types and compilation fails because of multiple types with same name. I am modifying the references file manually to correct this now :doh:
Best wishes, Navaneeth
I found when I have VS2010 Beta 1 installed this functionality broke in VS2008. With Beta 2, it seems ok again. You dont have that installed perhaps?
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition -
do't do that! I found it more reliable more simple more betterer to just reference the same contract and data assembly on both the client and server side than using VS's autogenerated service reference!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
But the reusing types option is sometimes important and unavoidable.
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition -
In my WCF client project I have "Reuse types in referenced assemblies" option enabled. But every time when I update the service reference, it regenerates all the types and compilation fails because of multiple types with same name. I am modifying the references file manually to correct this now :doh:
Best wishes, Navaneeth
N a v a n e e t h wrote:
W?F
There's your problem :rolleyes:
Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
| FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server -
In my WCF client project I have "Reuse types in referenced assemblies" option enabled. But every time when I update the service reference, it regenerates all the types and compilation fails because of multiple types with same name. I am modifying the references file manually to correct this now :doh:
Best wishes, Navaneeth
Not, you're just doing it wrong. Don't reference the WCF service, but just reuse all your types and service interface and use channelfactory to create your proxy.
Wout