Open
Description
We need to revise usages of IsTestProject
in SDK. For example:
sdk/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets
Lines 1358 to 1368 in 0b58937
With VSTest, test projects may have been special and requiring special hacks in SDK. For MTP though, it's just as any other typical console app and doesn't need any special handling, and the above may be actually hiding actual issues. In that case, we will need to make the special casing specific to VSTest via '$(IsTestProject)' == 'true' AND '$(IsTestingPlatformApplication)' != 'true'
There is also
sdk/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets
Lines 114 to 121 in 0b58937