Skip to content

IntelliSense support for MSTest.Sdk properties #4118

@Youssef1313

Description

@Youssef1313

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, or AllMicrosoft)
  • 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)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions