Skip to content

Commit 7f5553c

Browse files
author
Unknown
committed
Disable test on Desktop MSBuild
1 parent 62ad144 commit 7f5553c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

build/build.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
DestinationFolder="$(TestsDirectory)"
165165
/>
166166

167+
<Message Text="$(DotNetTool) &quot;$(TestsDirectory)\xunit.console.netcore.exe&quot; &quot;@(TestAssembly, '&quot; &quot;')&quot; -xml &quot;@(XmlTestFile)&quot;" Importance="High" />
167168
<Exec Command="$(DotNetTool) &quot;$(TestsDirectory)\xunit.console.netcore.exe&quot; &quot;@(TestAssembly, '&quot; &quot;')&quot; -xml &quot;@(XmlTestFile)&quot;"
168169
LogStandardErrorAsError="true"
169170
WorkingDirectory="$(TestsDirectory)"

test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildASelfContainedAppWithRid.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ public class GivenThatWeWantToBuildASelfContainedAppWithLibrariesAndRid : SdkTes
1818
[Fact]
1919
public void It_builds_a_RID_specific_runnable_output()
2020
{
21+
if (UsingFullFrameworkMSBuild)
22+
{
23+
// Disable this test on full framework, as the current build won't have access to
24+
// https://github.com/Microsoft/msbuild/pull/1674
25+
// See https://github.com/dotnet/sdk/issues/877
26+
return;
27+
}
28+
2129
var runtimeIdentifier = RuntimeEnvironment.GetRuntimeIdentifier();
2230
var testAsset = _testAssetsManager
2331
.CopyTestAsset("AppWithLibraryAndRid")

0 commit comments

Comments
 (0)