File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
test/Microsoft.ML.CodeAnalyzer.Tests/Helpers Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,12 @@ namespace Microsoft.ML.CodeAnalyzer.Tests.Helpers
1414{
1515 internal static class AdditionalMetadataReferences
1616 {
17- #if NETCOREAPP
18- internal static readonly ReferenceAssemblies DefaultReferenceAssemblies = ReferenceAssemblies . Default
19- . AddPackages ( ImmutableArray . Create ( new PackageIdentity ( "System.Memory" , "4.5.1" ) ) ) ;
20- #else
21- internal static readonly ReferenceAssemblies DefaultReferenceAssemblies = ReferenceAssemblies . NetFramework . Net472 . Default
22- . AddPackages ( ImmutableArray . Create ( new PackageIdentity ( "System.Memory" , "4.5.1" ) ) ) ;
23- #endif
17+ internal static readonly ReferenceAssemblies DefaultReferenceAssemblies = new ReferenceAssemblies (
18+ "net8.0" ,
19+ new PackageIdentity (
20+ "Microsoft.NETCore.App.Ref" ,
21+ "8.0.0-preview.5.23280.8" ) ,
22+ Path . Combine ( "ref" , "net8.0" ) ) ;
2423
2524 internal static readonly MetadataReference MSDataDataViewReference = RefFromType < IDataView > ( ) ;
2625 internal static readonly MetadataReference MLNetCoreReference = RefFromType < IHostEnvironment > ( ) ;
You can’t perform that action at this time.
0 commit comments