Skip to content

Commit 7c6d927

Browse files
dotnet-maestro[bot]marcpopMSFT
authored andcommitted
[main] Update dependencies from dotnet/linker (#27186)
[main] Update dependencies from dotnet/linker - Workaround for the floating version with a specific one - Merge branch 'main' of https://github.com/dotnet/sdk into darc-main-6d2336f7-8e45-4040-a5ee-f40e1cbcdd1b - updating the floating version to a fixed one on main test as well
1 parent bd53066 commit 7c6d927

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAnAotApp.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public void NativeAot_hw_runs_with_PackageReference_PublishAot_is_enabled(string
272272
testProject.AdditionalProperties["PublishAot"] = "true";
273273

274274
// This will add a reference to a package that will also be automatically imported by the SDK
275-
testProject.PackageReferences.Add(new TestPackageReference("Microsoft.DotNet.ILCompiler", "7.0.0-*"));
275+
testProject.PackageReferences.Add(new TestPackageReference("Microsoft.DotNet.ILCompiler", "7.0.0-rc.1.22416.1"));
276276

277277
// Linux symbol files are embedded and require additional steps to be stripped to a separate file
278278
// assumes /bin (or /usr/bin) are in the PATH
@@ -319,7 +319,7 @@ public void NativeAot_hw_runs_with_PackageReference_PublishAot_is_empty(string t
319319
var testProject = CreateHelloWorldTestProject(targetFramework, projectName, true);
320320

321321
// This will add a reference to a package that will also be automatically imported by the SDK
322-
testProject.PackageReferences.Add(new TestPackageReference("Microsoft.DotNet.ILCompiler", "7.0.0-*"));
322+
testProject.PackageReferences.Add(new TestPackageReference("Microsoft.DotNet.ILCompiler", "7.0.0-rc.1.22416.1"));
323323

324324
// Linux symbol files are embedded and require additional steps to be stripped to a separate file
325325
// assumes /bin (or /usr/bin) are in the PATH
@@ -367,8 +367,8 @@ public void NativeAot_hw_runs_with_cross_PackageReference_PublishAot_is_enabled(
367367
testProject.AdditionalProperties["PublishAot"] = "true";
368368

369369
// This will add a reference to a package that will also be automatically imported by the SDK
370-
testProject.PackageReferences.Add(new TestPackageReference("Microsoft.DotNet.ILCompiler", "7.0.0-*"));
371-
testProject.PackageReferences.Add(new TestPackageReference("runtime.win-x64.Microsoft.DotNet.ILCompiler", "7.0.0-*"));
370+
testProject.PackageReferences.Add(new TestPackageReference("Microsoft.DotNet.ILCompiler", "7.0.0-rc.1.22416.1"));
371+
testProject.PackageReferences.Add(new TestPackageReference("runtime.win-x64.Microsoft.DotNet.ILCompiler", "7.0.0-rc.1.22416.1"));
372372

373373
var testAsset = _testAssetsManager.CreateTestProject(testProject);
374374

@@ -391,8 +391,8 @@ public void NativeAot_hw_runs_with_cross_PackageReference_PublishAot_is_empty(st
391391
var testProject = CreateHelloWorldTestProject(targetFramework, projectName, true);
392392

393393
// This will add a reference to a package that will also be automatically imported by the SDK
394-
testProject.PackageReferences.Add(new TestPackageReference("Microsoft.DotNet.ILCompiler", "7.0.0-*"));
395-
testProject.PackageReferences.Add(new TestPackageReference("runtime.win-x64.Microsoft.DotNet.ILCompiler", "7.0.0-*"));
394+
testProject.PackageReferences.Add(new TestPackageReference("Microsoft.DotNet.ILCompiler", "7.0.0-rc.1.22416.1"));
395+
testProject.PackageReferences.Add(new TestPackageReference("runtime.win-x64.Microsoft.DotNet.ILCompiler", "7.0.0-rc.1.22416.1"));
396396

397397
var testAsset = _testAssetsManager.CreateTestProject(testProject);
398398

0 commit comments

Comments
 (0)