@@ -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