diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddType.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddType.cs index 6e8486df88..d285c50edb 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddType.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddType.cs @@ -597,9 +597,9 @@ namespace Microsoft.PowerShell.Commands #region LoadAssembly - // We now ship the NetCoreApp2.0 reference assemblies with PowerShell Core, so that Add-Type can work + // We now ship .Net Core's reference assemblies with PowerShell Core, so that Add-Type can work // in a predictable way and won't be broken when we move to newer version of .NET Core. - // The NetCoreApp2.0 reference assemblies are located at '$PSHOME\ref'. + // The reference assemblies are located at '$PSHOME\ref'. private static string s_netcoreAppRefFolder = PathType.Combine(PathType.GetDirectoryName(typeof(PSObject).Assembly.Location), "ref"); private static string s_frameworkFolder = PathType.GetDirectoryName(typeof(object).Assembly.Location); @@ -655,7 +655,7 @@ namespace Microsoft.PowerShell.Commands /// private static IEnumerable InitDefaultRefAssemblies() { - // netcoreapp2.0 currently comes with 137 reference assemblies (maybe more in future), so we use a capacity of '150'. + // netcoreapp2.1 currently comes with 144 reference assemblies (maybe more in future), so we use a capacity of '150'. var defaultRefAssemblies = new List(150); foreach (string file in Directory.EnumerateFiles(s_netcoreAppRefFolder, "*.dll", SearchOption.TopDirectoryOnly)) diff --git a/src/ResGen/ResGen.csproj b/src/ResGen/ResGen.csproj index 1283eb4b85..28c8385af8 100644 --- a/src/ResGen/ResGen.csproj +++ b/src/ResGen/ResGen.csproj @@ -2,7 +2,7 @@ Generates C# typed bindings for .resx files - netcoreapp2.0 + netcoreapp2.1 resgen Exe true diff --git a/src/TypeCatalogGen/TypeCatalogGen.csproj b/src/TypeCatalogGen/TypeCatalogGen.csproj index 9102abcb76..431cd31b92 100644 --- a/src/TypeCatalogGen/TypeCatalogGen.csproj +++ b/src/TypeCatalogGen/TypeCatalogGen.csproj @@ -2,7 +2,7 @@ Generates CorePsTypeCatalog.cs given powershell.inc - netcoreapp2.0 + netcoreapp2.1 TypeCatalogGen Exe true diff --git a/tools/packaging/project/package.csproj b/tools/packaging/project/package.csproj index e1f68b86c4..5aa7a79d91 100644 --- a/tools/packaging/project/package.csproj +++ b/tools/packaging/project/package.csproj @@ -11,6 +11,6 @@ runtime=$(RID);version=$(SemVer);PackageName=$(PackageName) $(StagingPath) True - netcoreapp2.0 + netcoreapp2.1