Skip to content

Commit 89cd638

Browse files
committed
Remove the unmanaged store test as it requires a package we no longer have easy access to
1 parent 1cf391e commit 89cd638

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

test/Microsoft.NET.Publish.Tests/GivenThatWeWantToStoreAProjectWithDependencies.cs

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -121,37 +121,6 @@ public void compose_dependencies_noopt()
121121
storeDirectory.Should().OnlyHaveFiles(files_on_disk);
122122
}
123123

124-
[Fact(Skip = "https://github.com/dotnet/sdk/issues/45417")]
125-
public void store_nativeonlyassets()
126-
{
127-
TestAsset simpleDependenciesAsset = _testAssetsManager
128-
.CopyTestAsset("UnmanagedStore")
129-
.WithSource();
130-
131-
var storeCommand = new ComposeStoreCommand(Log, simpleDependenciesAsset.TestRoot);
132-
133-
var OutputFolder = Path.Combine(simpleDependenciesAsset.TestRoot, "outdir");
134-
var WorkingDir = Path.Combine(simpleDependenciesAsset.TestRoot, "w");
135-
136-
NuGetConfigWriter.Write(simpleDependenciesAsset.TestRoot);
137-
138-
storeCommand
139-
.Execute($"/p:RuntimeIdentifier={_runtimeRid}", $"/p:TargetFramework={_tfm}", $"/p:ComposeWorkingDir={WorkingDir}", $"/p:ComposeDir={OutputFolder}", $"/p:DoNotDecorateComposeDir=true")
140-
.Should()
141-
.Pass();
142-
143-
DirectoryInfo storeDirectory = new(OutputFolder);
144-
145-
List<string> files_on_disk = new()
146-
{
147-
"artifact.xml",
148-
$"runtime.{_runtimeRid}.microsoft.netcore.coredistools/1.0.1-prerelease-00001/runtimes/{_runtimeRid}/native/{_libPrefix}coredistools{FileConstants.DynamicLibSuffix}",
149-
$"runtime.{_runtimeRid}.microsoft.netcore.coredistools/1.0.1-prerelease-00001/runtimes/{_runtimeRid}/native/coredistools.h"
150-
};
151-
152-
storeDirectory.Should().OnlyHaveFiles(files_on_disk);
153-
}
154-
155124
[Fact]
156125
public void compose_multifile()
157126
{

test/TestAssets/TestProjects/UnmanagedStore/UnmanagedStore.csproj

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)