-
Notifications
You must be signed in to change notification settings - Fork 1k
Fix project type GUIDs when adding projects to solution files. #8796
Fix project type GUIDs when adding projects to solution files. #8796
Conversation
|
Cc @davkean Can you review this? |
| projectTypeGuid = projectTypeGuidProperty.Split(';').Last(); | ||
| } | ||
| else | ||
| var projectTypeGuids = projectInstance.GetPropertyValue("ProjectTypeGuids"); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
ping @davkean 😄 |
|
ping @davkean for one last review :) |
| { | ||
| return rootElement | ||
| .Properties | ||
| .FirstOrDefault(p => p.Name == "ProjectTypeGuids") |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This commit ensures the correct property (`ProjectTypeGuids`) is respected when adding a project to a solution file. Additionally, we now error if a project type GUID cannot be determined rather than incorrectly mapping to the C# project type. Enabled previously disabled tests that were waiting on upstream changes from MSBuild and F#. Fixes #5131. Fixes #7742.
|
@MattGertz for 2.1.3xx tell mode |
This PR ensures the correct property (
ProjectTypeGuids) is respected whenadding a project to a solution file.
Additionally, we now error if a project type GUID cannot be determined rather
than incorrectly mapping to the C# project type.
Enabled previously disabled tests that were waiting on upstream changes from
MSBuild and F#.
Fixes #5131.
Fixes #7742.