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

For full CLR TargetFrameworks make DebugType is 'Full' #528

Merged
merged 2 commits into from
Feb 22, 2017

Conversation

smadala
Copy link
Contributor

@smadala smadala commented Feb 21, 2017

  • In IDE scenario for full CLR projects default test platform is v1, which expects full PDB for source information.

Tested Manually.

Related bugs: #373 & #523


This change is Reviewable

@smadala smadala requested review from codito and sbaid February 21, 2017 15:06
@msftclas
Copy link

Hi @smadala, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor. If you're full-time or an intern, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@smadala smadala requested a review from singhsarab February 21, 2017 15:06
This can be removed once TPv2 is default for full CLR. Related issue https://github.com/Microsoft/vstest/issues/373.
-->
<PropertyGroup>
<DebugType Condition="'$(TargetFramework)' != '' AND !$(TargetFramework.StartsWith('netcoreapp'))">Full</DebugType>
Copy link
Contributor

Choose a reason for hiding this comment

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

Use TargetFrameworkIdentifier instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

-->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
<OutputType>Exe</OutputType>
</PropertyGroup>

<!--
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.
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry I'm a little confused, I thought TP V2 is the default for the new project system projects targeting Full CLR as well. Is that understanding wrong?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tpv2 is default for netcore, for net46 need to add testplatform.config.

@codito codito merged commit f168241 into microsoft:master Feb 22, 2017
codito pushed a commit to codito/vstest that referenced this pull request Feb 22, 2017
* For full CLR TargetFrameworks make DebugType is 'Full'

* Use TargetFrameworkIdentifier instead TargetFramework.
codito added a commit that referenced this pull request Feb 22, 2017
* For full CLR TargetFrameworks make DebugType is 'Full'

* Use TargetFrameworkIdentifier instead TargetFramework.
@smadala smadala deleted the full-pdb-target branch May 23, 2018 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants