Skip to content

dotnet-svcutil: write generated json file with relative path for referenced assembly.#5500

Open
imcarolwang wants to merge 2 commits into
dotnet:mainfrom
imcarolwang:issue5495
Open

dotnet-svcutil: write generated json file with relative path for referenced assembly.#5500
imcarolwang wants to merge 2 commits into
dotnet:mainfrom
imcarolwang:issue5495

Conversation

@imcarolwang

Copy link
Copy Markdown
Contributor

For issue #5495.

Write referenced assembly name instead of absolute path to the generated parameters json file, corresponding to the change, recalculate references base on project dependencies for update operation, update related test as well.

@imcarolwang
imcarolwang marked this pull request as ready for review April 17, 2024 06:28
@voroninp

Copy link
Copy Markdown

Any estimations for the merge? ;-)

Comment thread src/dotnet-svcutil/lib/src/Shared/Options/UpdateOptions.cs Outdated
Comment thread src/dotnet-svcutil/lib/src/CommandProcessorOptions.cs
@imcarolwang

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@imcarolwang imcarolwang changed the title dotnet-svcutil: write generated json file with name instead of full path for referenced assembly. dotnet-svcutil: write generated json file with relative path for referenced assembly. Oct 21, 2024
@imcarolwang
imcarolwang force-pushed the issue5495 branch 2 times, most recently from 9c7c503 to 3f52c4d Compare October 24, 2024 09:38
imcarolwang and others added 2 commits June 11, 2026 11:15
Follow-up to the dotnet-svcutil fix that writes referenced assembly
paths relative to the params.json file (issue dotnet#5495):

- ReuseIXmlSerializableType: this test was added on main after PR dotnet#5500
  was opened; update its baseline params.json so the CommonTypes.dll
  reference matches the relative path now emitted by svcutil.
- MultiTargetTypeReuse: bump TypeReuseClient TFMs from net6.0;net7.0
  (both out of support) to net10.0;net8.0, and update the baseline
  csproj and params.json (bin/Debug/net10.0/BinLib.dll) accordingly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants