Repository navigation
Revert "[blazor] Extract current dotnet.d.ts from runtime pack for re… - #70374
Conversation
|
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
There was a problem hiding this comment.
🔵 Needs a closer look
The affected Windows_x64 VMR restore/build path was not executed, so source inspection alone cannot confirm that removing the runtime-pack download dependency resolves the reported failure.
No open issues 🎉
What changed in this PR
This PR reverts runtime-pack extraction of Blazor’s TypeScript declarations, restoring a checked-in dotnet.d.ts and removing the associated restore-time dependency.
Changes:
- Restore the runtime declaration file to source control.
- Remove runtime-pack download and declaration-copy targets, and simplify npm build inputs.
- Remove build instructions that applied to generated, untracked declarations.
| File | Description |
|---|---|
src/Components/dotnet-runtime-js/dotnet.d.ts |
Restore checked-in .NET runtime TypeScript declarations. |
src/Components/dotnet-runtime-js/.gitignore |
Remove the ignore rule for dotnet.d.ts. |
eng/tools/GenerateFiles/GenerateFiles.csproj |
Remove the runtime-pack download and declaration-copy target. |
eng/Npm.Workspace.nodeproj |
Remove declaration restore orchestration and use the standard TypeScript input glob. |
docs/BuildFromSource.md |
Remove instructions for extracting declarations during restore. |
Review effort: Balanced
|
/ba-g BA is pending but all builds passed |
|
✅ No documentation PR was created. Confidence that documentation is needed: 3% No docs needed: the PR reverts a repository build change (eng files, dotnet.d.ts, BuildFromSource.md) and has no user-facing impact. Documentation surfaces considered
|
…pository build"
See dotnet/dotnet#10802 (comment)