-
Notifications
You must be signed in to change notification settings - Fork 331
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
Source info not available for desktop projects if it created from netcore template #373
Comments
This is happening because there's an assumption that projects that target desktop can only build with Full PDBs. |
This has been fixed with #528 |
Reopening this issue. The problem has not been fixed fully. The SDK still has the following lines, which break debugging tests built with embedded PDBs: <!--
In IDE scenario for full CLR projects default test platform is v1, which expects full pdbs for source information.
This can be removed once TPv2 is default for full CLR. Related issue https://github.com/Microsoft/vstest/issues/373.
-->
<PropertyGroup>
<DebugType Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">Full</DebugType>
</PropertyGroup> Note that this actually completely breaks these tests -- the targets file sets |
Workaround for test SDK issue microsoft/vstest#373
This may still be an issue. I have the latest VS 2019 installed. Created two .net standard libraries targeting 2.0/2.1. The created a xUnit test project, the only code coverage that was appearing was in the unit test project. I had to add |
Description
Steps to reproduce
Expected behavior
Actual behavior
Workaround
The text was updated successfully, but these errors were encountered: