![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | SvcUtil and namespaces I'm using svcutil to generate client proxy code from my service. This is working fine, but I have a question: The server interface attributed with [ServiceContract] is contained within a .NET namespace, but the client file generated by svcutil doesn't surround the code with a namespace declaration. Is this expected? I know I can just go an edit the generated file, but I want to understand why this is happening. Thank you, Ian |
| | #2 (permalink) |
| Guest | Re: SvcUtil and namespaces Yes, that how svcutil work at least up to now Arkady "Ian Harding" <iharding160@hotmail.com> wrote in message news:4nfqt3Fa842sU1@individual.net... > I'm using svcutil to generate client proxy code from my service. This is > working fine, but I have a question: > > The server interface attributed with [ServiceContract] is contained within > a .NET namespace, but the client file generated by svcutil doesn't > surround the code with a namespace declaration. Is this expected? I know > I can just go an edit the generated file, but I want to understand why > this is happening. > > Thank you, > Ian |
| | #3 (permalink) |
| Guest | Re: SvcUtil and namespaces On Mon, 25 Sep 2006 10:57:22 +0300, "Arkady Frenkel" <arkadyf@hotmailxdotx.com> wrote: >Yes, that how svcutil work at least up to now >Arkady Does anyone know if that behavior is going to change by the final release? I'm using RC1 and it's still that way. It's really annoying, because I have to manually edit the code that is generated by svcutil, and I thought the whole point of that automatic generation is to avoid hand-editing. Just a simple command-line parameter that basically wraps all the generated code inside a given namespace? Chuck |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Imported namespaces | MCM | .NET General | 3 | 2 Weeks Ago 09:54 PM |
| Creating a cmdlet using csc.exe - missing namespaces | Marco Shaw | PowerShell | 5 | 10-03-2007 06:39 AM |
| Puzzled about namespaces | Blip | PowerShell | 1 | 02-14-2007 11:53 AM |
| Binding, XPath & Namespaces | Doug | Avalon | 4 | 01-10-2006 03:52 PM |