Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Conversation

@peterhuene
Copy link

@peterhuene peterhuene commented Mar 15, 2018

This PR 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.

@peterhuene peterhuene requested a review from a team March 15, 2018 01:25
@nguerrera
Copy link
Contributor

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.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@peterhuene
Copy link
Author

ping @davkean 😄

@peterhuene peterhuene requested a review from davkean March 19, 2018 15:53
@peterhuene peterhuene changed the base branch from master to release/2.1.3xx March 20, 2018 17:15
@peterhuene
Copy link
Author

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.

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.
@peterhuene
Copy link
Author

@MattGertz for 2.1.3xx tell mode

@peterhuene peterhuene merged commit e61a7a3 into dotnet:release/2.1.3xx Mar 23, 2018
@peterhuene peterhuene deleted the project-type-guid branch March 23, 2018 05:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants