File tree Expand file tree Collapse file tree
Microsoft.PowerShell.Commands.Utility/commands/utility Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -597,9 +597,9 @@ protected override void EndProcessing()
597597
598598 #region LoadAssembly
599599
600- // We now ship the NetCoreApp2.0 reference assemblies with PowerShell Core, so that Add-Type can work
600+ // We now ship .Net Core's reference assemblies with PowerShell Core, so that Add-Type can work
601601 // in a predictable way and won't be broken when we move to newer version of .NET Core.
602- // The NetCoreApp2.0 reference assemblies are located at '$PSHOME\ref'.
602+ // The reference assemblies are located at '$PSHOME\ref'.
603603 private static string s_netcoreAppRefFolder = PathType . Combine ( PathType . GetDirectoryName ( typeof ( PSObject ) . Assembly . Location ) , "ref" ) ;
604604 private static string s_frameworkFolder = PathType . GetDirectoryName ( typeof ( object ) . Assembly . Location ) ;
605605
@@ -655,7 +655,7 @@ private void LoadAssemblies(IEnumerable<string> assemblies)
655655 /// </summary>
656656 private static IEnumerable < PortableExecutableReference > InitDefaultRefAssemblies ( )
657657 {
658- // netcoreapp2.0 currently comes with 137 reference assemblies (maybe more in future), so we use a capacity of '150'.
658+ // netcoreapp2.1 currently comes with 144 reference assemblies (maybe more in future), so we use a capacity of '150'.
659659 var defaultRefAssemblies = new List < PortableExecutableReference > ( 150 ) ;
660660
661661 foreach ( string file in Directory . EnumerateFiles ( s_netcoreAppRefFolder , "*.dll" , SearchOption . TopDirectoryOnly ) )
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <Description >Generates C# typed bindings for .resx files</Description >
5- <TargetFramework >netcoreapp2.0 </TargetFramework >
5+ <TargetFramework >netcoreapp2.1 </TargetFramework >
66 <AssemblyName >resgen</AssemblyName >
77 <OutputType >Exe</OutputType >
88 <TieredCompilation >true</TieredCompilation >
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <Description >Generates CorePsTypeCatalog.cs given powershell.inc</Description >
5- <TargetFramework >netcoreapp2.0 </TargetFramework >
5+ <TargetFramework >netcoreapp2.1 </TargetFramework >
66 <AssemblyName >TypeCatalogGen</AssemblyName >
77 <OutputType >Exe</OutputType >
88 <TieredCompilation >true</TieredCompilation >
Original file line number Diff line number Diff line change 1111 <NuspecProperties >runtime=$(RID);version=$(SemVer);PackageName=$(PackageName)</NuspecProperties >
1212 <NuspecBasePath >$(StagingPath)</NuspecBasePath >
1313 <IsTool >True</IsTool >
14- <TargetFramework >netcoreapp2.0 </TargetFramework >
14+ <TargetFramework >netcoreapp2.1 </TargetFramework >
1515 </PropertyGroup >
1616</Project >
You can’t perform that action at this time.
0 commit comments