Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
1. build package1.0.0.1
  • Loading branch information
oven425 committed Feb 18, 2021
1 parent 149a697 commit bb112d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions QSoft.Reg/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
2 changes: 1 addition & 1 deletion QSoft.Reg/QSoft.Registry.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>QSoft.Registry</RootNamespace>
<AssemblyName>QSoft.Registry</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
Expand Down
4 changes: 2 additions & 2 deletions QSoft.Reg/RegistryKeyEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ public static int Count(this RegistryKey src, Func<RegistryKey, bool> func)

public static IEnumerable<TResult> Select<TResult>(this RegistryKey src, Func<RegistryKey, TResult> 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);
Expand Down

0 comments on commit bb112d5

Please sign in to comment.