microsoft / MSBuildSdks

MSBuild project SDKs
MIT License
460 stars 82 forks source link

Sync RunVSTestTask task params #540

Closed dfederm closed 8 months ago

dfederm commented 8 months ago

Sync RunVSTestTask task params

Seeing this when I simply PackageReference Microsoft.Build.RunVSTest and run msbuild /t:Build;Test:

D:\Code\.nuget\microsoft.build.runvstest\1.0.312-gef8f11a7a1\build\Microsoft.Build.RunVSTest.targets(10,3): error MSB4044: The "RunVSTestTask" task was not given a value for the required parameter "VSTestRunnerVersion".

VSTestRunnerVersion is a Required param but isn't used at all.

This change synchronizes the params in the task and in the targets file so they're aligned.