Skip to content

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

Open
@dasMulli

Description

@dasMulli

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.

Metadata

Metadata

Assignees

Labels

bugThis is a product bug.dotnet-svcutil.xmlserializerThis issue is regarding the dotnet-svcutil.xmlserializer tool.priority 2Stack ranked level of priority. P2toolingAn issues related to any tool shipped from this repo.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions