Skip to content

Conversation

@NikolaMilosavljevic
Copy link
Member

Contributes to dotnet/source-build#3043

PVP flow is a method of flowing dependencies in source build that only overrides versions of packages that the repo has a declared dependency on in Version.Details.xml. This means that the package flow is closer to the Microsoft's way of building .NET.

To enable this for sdk, we just need to add dependencies on the packages that should be overridden in source build. In this case, it's the various nuget.client and 2 vstest packages. I've also updated Versions.props file to remove usage of proxy properties for these repos - this is needed for proper PVP flow.

To fully enable PVP flow, the repo project in the VMR will needto set <PackageVersionPropsFlowType>DependenciesOnly</PackageVersionPropsFlowType> once these changes flow in.

</PropertyGroup>
<PropertyGroup>
<!-- Dependencies from https://github.com/Microsoft/vstest -->
<MicrosoftNETTestSdkPackageVersion>17.7.0-preview.23302.1</MicrosoftNETTestSdkPackageVersion>
Copy link
Member

Choose a reason for hiding this comment

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

Since the version is explicitly used further down, do we still need the property?

Copy link
Member Author

@NikolaMilosavljevic NikolaMilosavljevic Jun 7, 2023

Choose a reason for hiding this comment

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

MicrosoftNETTestSdkPackageVersion is used in various places in this repo, we need this property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-CodeFlow untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants