wcf icon indicating copy to clipboard operation
wcf copied to clipboard

Don't rely on tool for build-integration of svcutil.xmlserializer

Open dasMulli opened this issue 7 years ago • 1 comments

Right now svcutil.xmlserializer uses the MSBuild <Exec> task to run a project-local tool.

This is a bit dangerous because it cannot work when multiple csproj files are in the same directory. Also, project-local tools are deprecated by the global tools feature so it feels unnatural for users to use a deprecated feature for setting up xmlserializer integration.

Consider locating the executable from the .targets file (e.g. based on $(MSBuildThisFileDirectory)) to remove the need for the indirect lookup via the CLI.

dasMulli avatar May 23 '18 19:05 dasMulli

@dasMulli Thanks for your feedback. We'll take a look.

huanwu avatar Jun 21 '18 18:06 huanwu