Skip to content
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

Specify preferred persistence GUID for project types #9509

Merged

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented Jul 23, 2024

Fixes #1821

This change takes a new version of CPS, and populates a new property on the ProjectTypeRegistrationAttribute that specifies the preferred project type GUID for persistence.

This helps avoid an issue where occasionally VS would change the project type GUID in the solution file, as now the project can explicitly define when it wants to use a different project type GUID for persistence, as we do for managed C#/VB/F# projects.

Microsoft Reviewers: Open in CodeFlow

This change takes a new version of CPS, and populates a new property on the `ProjectTypeRegistrationAttribute` that specifies the preferred project type GUID for persistence.

This helps avoid an issue where occasionally VS would change the project type GUID in the solution file, as now the project can explicitly define when it wants to use a different project type GUID for persistence, as we do for managed C#/VB/F# projects.
@drewnoakes drewnoakes requested a review from a team as a code owner July 23, 2024 21:52
@drewnoakes drewnoakes added this to the 17.12 milestone Jul 23, 2024
@drewnoakes drewnoakes merged commit f1128f7 into dotnet:main Jul 23, 2024
5 checks passed
@drewnoakes drewnoakes deleted the specify-persistence-project-type-guid branch July 23, 2024 22:12
@dotnet-policy-service dotnet-policy-service bot modified the milestones: 17.12, 17.11 Jul 23, 2024
@drewnoakes drewnoakes modified the milestones: 17.11, 17.12 Jul 24, 2024
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.

Visual Studio and Visual Studio for Mac overwrite each other's changes in the solution
3 participants