views:

215

answers:

4

Is there a task in MSBuild to execute svcutil.exe? Or is there a definitive wrapper task somewhere?

A: 

You can always use the Exec task and run what ever you want.

Shay Erlichmen
Obviously, this is what I'll have to do if there is not a "definitive wrapper task somewhere."
GuyBehindtheGuy
You said "*Or* is there a definitive wrapper task", if your looking for "definitive wrapper task" only then don't start by asking "is there a task in MSBuild to execute svcutil.exe".
Shay Erlichmen
A: 

I'm not aware of an MSBuild task for svcutil.exe.

Such a task may exist in MSBuild Community Tasks or the MSBuild Extension Pack though.

Scott A. Lawrence
A: 

After searching extensively, there does not appear to be a task either included or available to do this.

GuyBehindtheGuy
A: 

Look at this blog post Automate XSD code generation in Visual Studio

doomer