Skip to content

Projects to deploy #79430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 23, 2025
Merged

Projects to deploy #79430

merged 3 commits into from
Jul 23, 2025

Conversation

tmat
Copy link
Member

@tmat tmat commented Jul 16, 2025

Calculate projects to redeploy. When a project reference is added we need to deploy the target project to the output directory of the referencing project (if the project copies dependencies to the output directory). This is performed by evaluating ReferenceCopyLocalPathsOutputGroup in the host (dotnet-watch/project system). EnC service now returns set of project to invoke the target on in ProjectsToRedeploy.

Also updates HasChangesAsync to account for changes in project settings, metadata and project references. Skips further analysis during emit solution updates if there are no project changes. Avoids hitting the disk for reading MVID for all projects in the solution.

Adds tests.

Enables dotnet/sdk#49611
Implements #49015 (Roslyn's part)

Update HasChanges to reflect changes in project settings and references.
@tmat tmat force-pushed the ProjectsToDeploy branch from 4d8e8cc to cd02942 Compare July 18, 2025 23:21
@tmat tmat marked this pull request as ready for review July 18, 2025 23:21
@tmat tmat requested a review from a team as a code owner July 18, 2025 23:21
@tmat
Copy link
Member Author

tmat commented Jul 18, 2025

@DustinCampbell ptal

@tmat tmat merged commit 1a74e66 into dotnet:main Jul 23, 2025
25 checks passed
@tmat tmat deleted the ProjectsToDeploy branch July 23, 2025 23:40
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants