-
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
For full CLR TargetFrameworks make DebugType is 'Full' #528
Conversation
Hi @smadala, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
TTYL, MSBOT; |
src/Microsoft.NET.Test.Sdk.targets
Outdated
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> |
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.
Use TargetFrameworkIdentifier instead?
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.
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. |
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.
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?
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.
Tpv2 is default for netcore, for net46 need to add testplatform.config.
* For full CLR TargetFrameworks make DebugType is 'Full' * Use TargetFrameworkIdentifier instead TargetFramework.
Tested Manually.
Related bugs: #373 & #523
This change is