3

I am trying to consume a WCF service I wrote, but I can't get the svcutil.exe to generate a proxy.

Every path I try brings up access denied... What do I need to set to get permission?

Generating files...
Error: Cannot create output file: C:\ClientCode.cs
Access to the path 'C:\ClientCode.cs' is denied.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
chobo
  • 31,561
  • 38
  • 123
  • 191

1 Answers1

7

If using Windows 7 try 'Run as Administrator'.

As a bonus, you can eliminate this annoyance by opening 'User Account Control Settings' and change the setting to 'Never Notify'.

Chris Hawkins
  • 808
  • 1
  • 7
  • 22