Skip to content

dotnet-svcutil generates json which contains absolute path to the referenced assembly. #5495

Open
@voroninp

Description

@voroninp

When I run dotnet-svcutil the generated file dotnet-svcutil.params.json contains absolute path to the dll.
That's not what should go to source control system.

image

Here's is a solution to reproduce the issue:
TypesAreNotReused.zip

  1. cd to TypesAreNotReused project.
  2. Run dotnet-svcutil '.\AdAlliance (RTL) Service Definition - 12mar2024.wsdl' -n "*,MBS.Saleshouse.Webservices.Lib.RTL" -d RTL
  3. Look into generated dotnet-svcutil.params.json

I also modeled the situation of checking out on different machine where paths are obviously different. Just renamed the solution folder.
I tried to update the service dotnet-svcutil -u afterwards.
I see the path completely removed from the file, and types not reused. How come?

P.S. I'd expect the relative path to proj file, not to dll directly.

This is a continuation of this discussion.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions