Skip to content

[http-client-csharp] Support alternateType with project references#11363

Open
JoshLove-msft wants to merge 6 commits into
microsoft:mainfrom
JoshLove-msft:joshlove/alternate-type-project-references
Open

[http-client-csharp] Support alternateType with project references#11363
JoshLove-msft wants to merge 6 commits into
microsoft:mainfrom
JoshLove-msft:joshlove/alternate-type-project-references

Conversation

@JoshLove-msft

Copy link
Copy Markdown
Contributor

Summary

  • load built assemblies from direct C# ProjectReference items before generator workspace initialization
  • resolve package-free @alternateType identities from registered project assemblies while preserving version-aware NuGet resolution
  • cover single- and multi-target project references, missing outputs, and minimum package versions

Validation

  • npm run build
  • npm test
  • npm run cop

…nces

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c13df7a3-1f85-4141-823b-e10c9ac4eb57
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Jul 23, 2026
JoshLove-msft and others added 3 commits July 22, 2026 20:30
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c13df7a3-1f85-4141-823b-e10c9ac4eb57
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c13df7a3-1f85-4141-823b-e10c9ac4eb57
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c13df7a3-1f85-4141-823b-e10c9ac4eb57
@pkg-pr-new

pkg-pr-new Bot commented Jul 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-csharp@11363

commit: aa4a33a

@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c13df7a3-1f85-4141-823b-e10c9ac4eb57
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c13df7a3-1f85-4141-823b-e10c9ac4eb57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant