dotnet / dotnet/wcf

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

Open
#2,896 1 comment 0 reactions 1 assignee Claimed by @imcarolwang View on GitHub
bug dotnet-svcutil.xmlserializer priority 2 tooling
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

Right now svcutil.xmlserializer uses the MSBuild `` 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.