2

is there a way to programmatically update helper file created primarily with CrmSvcUtil.exe in CRM 2011?

2 Answers2

1

As CrmSvcUtil is basically a console application you should be able to start it programmatically with a C# application.

How to run a C# console application with the console hidden

Community
  • 1
  • 1
James Wood
  • 17,286
  • 4
  • 46
  • 89
0

You could run a batch file doing it for you but I'm guessing that you'd like it to be run upon you creating/updating an entity. I don't think there's a way to make CRM detect such a change and execute a file on your machine. My answer is no, but it'd be nice if someone knew of a way and put me corrected.

Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
  • Well as its a development environment you could have a plugin that runs svcutil from a shared folder on your machine (or on the server itself). – James Wood Mar 13 '13 at 22:36
  • Good point: +1. My boss made me do on-line version from the very start. It's in my bones - "if you can't do it on-line, you shouldn't do it at all". :D – Konrad Viltersten Mar 14 '13 at 07:39