-
Notifications
You must be signed in to change notification settings - Fork 259
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
IntelliSense support for MSTest.Sdk properties #4118
Comments
@rainersigwald Can you advise please if there is a way to provide our own xsd? Otherwise, are you okay with updating CommonTypes.xsd in MSBuild repo? |
I would also consider @Youssef1313 I'll let you edit the lsit above |
Unfortunately there's not currently a way to provide your own XSD--but we'd be happy to accept a PR to add these to CommonTypes.xsd. |
@Evangelink Should we consider also the TestingPlatformBuilderHook item? |
I don't think so. It's quite technical and will be used by really few people (extension authors). We have documented it in the tech doc of the platform. |
Currently, there doesn't seem to be any IntelliSense support in csproj. I think it's useful to have such support.
I'm seeing all MSBuild IntelliSense defined here (even for Razor).
So, we could just PR to MSBuild to add IntelliSense for MSTest.Sdk.
However, it will be a better idea if we can maintain the xsd ourselves and have it shipped inside MSTest.Sdk NuGet package. This will allow us to always have the right IntelliSense depending on the actual MSTest.Sdk version that the user is using! But I don't see a way MSBuild would allow it, which is probably Razor is on MSBuild side as well.
List of properties to have IntelliSense for:
UseVSTest
(bool)EnableMSTestRunner
(bool)GenerateTestingPlatformEntryPoint
(bool)GenerateSelfRegisteredExtensions
(bool)GenerateProgramFile
(bool)DisableTestingPlatformServerCapability
(bool)TestingExtensionsProfile
(Default
,None
, orAllMicrosoft
)EnableMicrosoftTestingExtensionsCrashDump
(bool)EnableMicrosoftTestingExtensionsCodeCoverage
(bool)EnableMicrosoftTestingExtensionsHangDump
(bool)EnableMicrosoftTestingExtensionsHotReload
(bool)EnableMicrosoftTestingExtensionsRetry
(bool)EnableMicrosoftTestingExtensionsTrxReport
(bool)EnableAspireTesting
(bool)EnablePlaywright
(bool)IsTestingPlatformApplication
(bool)TestingPlatformCaptureOutput
(bool)TestingPlatformCommandLineArguments
(string - arbitrary user value)TestingPlatformDotnetTestSupport
(bool)TestingPlatformShowTestsFailure
(bool)The text was updated successfully, but these errors were encountered: