diff --git a/test/Microsoft.Sbom.Targets.E2E.Tests/GenerateSbomE2ETests.cs b/test/Microsoft.Sbom.Targets.E2E.Tests/GenerateSbomE2ETests.cs index 0934a4ac..a4fdcbf5 100644 --- a/test/Microsoft.Sbom.Targets.E2E.Tests/GenerateSbomE2ETests.cs +++ b/test/Microsoft.Sbom.Targets.E2E.Tests/GenerateSbomE2ETests.cs @@ -310,6 +310,12 @@ public void SbomGenerationSkipsForUnsetGenerateSBOMFlag() [TestMethod] public void SbomGenerationSucceedsForMultiTargetedProject() { + if (!RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.Ordinal)) + { + Assert.Inconclusive("This test needs to be updated to work with Visual Studio 17.12 and .NET 8. This is tracked at https://github.com/microsoft/sbom-tool/issues/815."); + return; + } + if (!IsWindows) { Assert.Inconclusive("This test is not (yet) supported on non-Windows platforms.");