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

Read RestoreProjectStyle MSBuild property once for all the NuGet project providers #1097

Merged
merged 1 commit into from Jan 5, 2017

Conversation

jainaashish
Copy link
Contributor

This PR targets reading MSBuild property RestoreProjectStyle which can be set to any project style in order to set that NuGet project style. So NuGet should also respect this property and create NuGet project accordingly. To have better VS performance, we read this property only once and pass to all the nuget project providers to consume.

Fixes NuGet/Home#4134

@rrelyea @emgarten @alpaix @zhili1208 @rohit21agrawal @mishra14

Copy link
Member

@emgarten emgarten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trim whitespace then :shipit:

}
}

return output;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trim whitespace before returning (unless you know IVsBuildPropertyStorage will always do this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IVsBuildPropertyStorage will always trim before returning.

@jainaashish jainaashish merged commit 821c59a into dev Jan 5, 2017
@jainaashish jainaashish deleted the asja-CreateNuGetProject branch February 27, 2017 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants