From bb112d5a27ef803f3d241be59d7a24788e482a5e Mon Sep 17 00:00:00 2001 From: oven425 Date: Thu, 18 Feb 2021 18:07:07 +0800 Subject: [PATCH] update 1. build package1.0.0.1 --- QSoft.Reg/Properties/AssemblyInfo.cs | 4 ++-- QSoft.Reg/QSoft.Registry.csproj | 2 +- QSoft.Reg/RegistryKeyEx.cs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/QSoft.Reg/Properties/AssemblyInfo.cs b/QSoft.Reg/Properties/AssemblyInfo.cs index e7978b4..a8b4ebf 100644 --- a/QSoft.Reg/Properties/AssemblyInfo.cs +++ b/QSoft.Reg/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // 您可以指定所有的值,或將組建編號或修訂編號設為預設值 //方法是使用 '*',如下所示: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.0.1")] +[assembly: AssemblyFileVersion("1.0.0.1")] diff --git a/QSoft.Reg/QSoft.Registry.csproj b/QSoft.Reg/QSoft.Registry.csproj index 4c07e7c..f05c4d4 100644 --- a/QSoft.Reg/QSoft.Registry.csproj +++ b/QSoft.Reg/QSoft.Registry.csproj @@ -9,7 +9,7 @@ Properties QSoft.Registry QSoft.Registry - v4.7.2 + v4.0 512 true diff --git a/QSoft.Reg/RegistryKeyEx.cs b/QSoft.Reg/RegistryKeyEx.cs index 7a77c9c..dbe9ebc 100644 --- a/QSoft.Reg/RegistryKeyEx.cs +++ b/QSoft.Reg/RegistryKeyEx.cs @@ -195,8 +195,8 @@ public static int Count(this RegistryKey src, Func func) public static IEnumerable Select(this RegistryKey src, Func select) { - string[] subkeynames = src.GetSubKeyNames(); - foreach (var subkeyname in subkeynames) + //string[] subkeynames = src.GetSubKeyNames(); + foreach (var subkeyname in src.GetSubKeyNames()) { RegistryKey reg = src.OpenSubKey(subkeyname); TResult obj = select.Invoke(reg);