Skip to content

Commit 352764f

Browse files
committed
Re-enable C++/CLI tests
1 parent 17bb5b4 commit 352764f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildACppCliProjectWithTransitiveDeps.cs

+4-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public GivenThatWeWantToBuildACppCliProjectWithTransitiveDeps(ITestOutputHelper
1212

1313
private readonly Lazy<TestAsset> _buildAsset;
1414

15-
[FullMSBuildOnlyFact(Skip = "https://github.com/dotnet/sdk/issues/11008")]
15+
[FullMSBuildOnlyFact]
1616
public void It_can_generate_correct_depsJson_file()
1717
{
1818
TestAsset testAsset = _buildAsset.Value;
@@ -23,7 +23,7 @@ public void It_can_generate_correct_depsJson_file()
2323
depsJsonContent.Should().Contain("NETCoreCppCliTestC.dll", "should contain transitive reference");
2424
}
2525

26-
[FullMSBuildOnlyFact(Skip = "https://github.com/dotnet/sdk/issues/11008")]
26+
[FullMSBuildOnlyFact]
2727
public void It_can_generate_all_runtimeconfig_files_to_output_folder()
2828
{
2929
TestAsset testAsset = _buildAsset.Value;
@@ -35,7 +35,7 @@ public void It_can_generate_all_runtimeconfig_files_to_output_folder()
3535
});
3636
}
3737

38-
[FullMSBuildOnlyFact(Skip = "https://github.com/dotnet/sdk/issues/11008")]
38+
[FullMSBuildOnlyFact]
3939
public void It_can_generate_all_depsjson_files_to_output_folder()
4040
{
4141
TestAsset testAsset = _buildAsset.Value;
@@ -52,9 +52,8 @@ private TestAsset BuildAsset()
5252
.CopyTestAsset("NetCoreCppCliLibWithTransitiveDeps")
5353
.WithSource();
5454

55-
// build projects separately with BuildProjectReferences=false to simulate VS build behavior
5655
new BuildCommand(testAsset, "NETCoreCppCliTest")
57-
.Execute("-p:Platform=win32")
56+
.Execute("-p:Platform=win32", "-p:EnableManagedpackageReferenceSupport=true")
5857
.Should()
5958
.Pass();
6059
return testAsset;

0 commit comments

Comments
 (0)