-
Notifications
You must be signed in to change notification settings - Fork 263
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
Fix InvokeTestingPlatformTask to handle running with msbuild.exe and 'Test' target #4840
Conversation
90d65ae
to
efcac26
Compare
@Youssef1313 don't forget to link the ticket |
For some reason, I cannot repro this locally. I found this very old issue which looks somewhat related dotnet/sdk#8124. The integration test is running |
Any hope of getting a binlog? I wonder if something is setting |
Nope, |
@rainersigwald Note: Microsoft.Testing.Platform.MSBuild project has a dependency on |
@@ -47,6 +47,7 @@ This package provides MSBuild integration of the platform, its extensions and co | |||
<ItemGroup> | |||
<TfmSpecificPackageFile Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'All'))" PackagePath="lib\$(TargetFramework)\%(ReferenceCopyLocalPaths.DestinationSubDirectory)" /> | |||
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('CopyToBuildOutput', 'true'))" TargetPath="%(ReferenceCopyLocalPaths.DestinationSubDirectory)" /> | |||
<BuildOutputInPackage Include="@(RuntimeTargetsCopyLocalItems->HasMetadata('NuGetPackageId'))" TargetPath="%(RuntimeCopyLocalPaths.DestinationSubPath)" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully this gets us green.
It adds three extra dlls to the package:
@rainersigwald Is this the right way to package?
Fixes #4070