Skip to content

Commit a24386b

Browse files
committed
use snlx format
1 parent fbc236a commit a24386b

File tree

11 files changed

+85
-339
lines changed

11 files changed

+85
-339
lines changed

β€ŽSource/ImageGlass.slnβ€Ž

Lines changed: 0 additions & 331 deletions
This file was deleted.

β€ŽSource/ImageGlass.slnxβ€Ž

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<Solution>
2+
<Configurations>
3+
<BuildType Name="Debug" />
4+
<BuildType Name="Publish_Release" />
5+
<BuildType Name="Release" />
6+
<Platform Name="Any CPU" />
7+
<Platform Name="ARM" />
8+
<Platform Name="ARM64" />
9+
<Platform Name="x64" />
10+
<Platform Name="x86" />
11+
</Configurations>
12+
<Folder Name="/Components/">
13+
<Project Path="Components/ImageGlass.Base/ImageGlass.Base.csproj">
14+
<Platform Solution="*|Any CPU" Project="x64" />
15+
<Platform Solution="*|ARM" Project="x64" />
16+
<Platform Solution="*|ARM64" Project="ARM64" />
17+
<Platform Solution="*|x64" Project="x64" />
18+
<Platform Solution="*|x86" Project="x64" />
19+
</Project>
20+
<Project Path="Components/ImageGlass.Gallery/ImageGlass.Gallery.csproj">
21+
<Platform Solution="*|Any CPU" Project="x64" />
22+
<Platform Solution="*|ARM" Project="x64" />
23+
<Platform Solution="*|ARM64" Project="ARM64" />
24+
<Platform Solution="*|x64" Project="x64" />
25+
<Platform Solution="*|x86" Project="x64" />
26+
</Project>
27+
<Project Path="Components/ImageGlass.Settings/ImageGlass.Settings.csproj">
28+
<Platform Solution="*|Any CPU" Project="x64" />
29+
<Platform Solution="*|ARM" Project="x64" />
30+
<Platform Solution="*|ARM64" Project="ARM64" />
31+
<Platform Solution="*|x64" Project="x64" />
32+
<Platform Solution="*|x86" Project="x64" />
33+
</Project>
34+
<Project Path="Components/ImageGlass.UI/ImageGlass.UI.csproj">
35+
<Platform Solution="*|Any CPU" Project="x64" />
36+
<Platform Solution="*|ARM" Project="x64" />
37+
<Platform Solution="*|ARM64" Project="ARM64" />
38+
<Platform Solution="*|x64" Project="x64" />
39+
<Platform Solution="*|x86" Project="x64" />
40+
</Project>
41+
<Project Path="Components/ImageGlass.Views/ImageGlass.Viewer.csproj">
42+
<Platform Solution="*|Any CPU" Project="x64" />
43+
<Platform Solution="*|ARM" Project="x64" />
44+
<Platform Solution="*|ARM64" Project="ARM64" />
45+
<Platform Solution="*|x64" Project="x64" />
46+
<Platform Solution="*|x86" Project="x64" />
47+
</Project>
48+
<Project Path="Components/ImageGlass.Webp/ImageGlass.WebP.csproj">
49+
<Platform Solution="*|Any CPU" Project="x64" />
50+
<Platform Solution="*|ARM" Project="x64" />
51+
<Platform Solution="*|ARM64" Project="ARM64" />
52+
<Platform Solution="*|x64" Project="x64" />
53+
<Platform Solution="*|x86" Project="x64" />
54+
</Project>
55+
<Project Path="Components/ImageGlass.WinTouch/ImageGlass.WinTouch.csproj">
56+
<Platform Solution="*|Any CPU" Project="x64" />
57+
<Platform Solution="*|ARM" Project="x64" />
58+
<Platform Solution="*|ARM64" Project="ARM64" />
59+
<Platform Solution="*|x64" Project="x64" />
60+
<Platform Solution="*|x86" Project="x64" />
61+
</Project>
62+
</Folder>
63+
<Project Path="igcmd/igcmd.csproj">
64+
<Platform Solution="*|Any CPU" Project="x64" />
65+
<Platform Solution="*|ARM" Project="x64" />
66+
<Platform Solution="*|ARM64" Project="ARM64" />
67+
<Platform Solution="*|x64" Project="x64" />
68+
<Platform Solution="*|x86" Project="x64" />
69+
</Project>
70+
<Project Path="ImageGlass/ImageGlass.csproj">
71+
<Platform Solution="*|Any CPU" Project="x64" />
72+
<Platform Solution="*|ARM" Project="x64" />
73+
<Platform Solution="*|ARM64" Project="ARM64" />
74+
<Platform Solution="*|x64" Project="x64" />
75+
<Platform Solution="*|x86" Project="x64" />
76+
</Project>
77+
</Solution>

β€ŽSource/ImageGlass/FrmMain.csβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ You should have received a copy of the GNU General Public License
2626
using ImageGlass.Gallery;
2727
using ImageGlass.Settings;
2828
using ImageGlass.UI;
29+
using System.ComponentModel;
2930
using System.Reflection;
3031
using System.Text.Json;
3132
using WicNet;
@@ -1637,9 +1638,8 @@ public async Task ExecuteUserActionAsync(SingleAction? ac)
16371638
}
16381639
else
16391640
{
1640-
error = new ArgumentException(
1641-
ZString.Format(Config.Language[$"{langPath}._MethodArgumentNotSupported"], ac.Executable),
1642-
nameof(ac.Arguments));
1641+
error = new MissingMethodException(
1642+
ZString.Format(Config.Language[$"{langPath}._MethodArgumentNotSupported"], ac.Executable), ac.Executable);
16431643
}
16441644

16451645

@@ -1682,7 +1682,7 @@ public async Task ExecuteUserActionAsync(SingleAction? ac)
16821682
var result = await BHelper.RunExeCmd(Executable, Args, false, false);
16831683
if (result != IgExitCode.Done)
16841684
{
1685-
error = new Exception(ZString.Format(Config.Language[$"{langPath}._Win32ExeError"], ac.Executable));
1685+
error = new Win32Exception(ZString.Format(Config.Language[$"{langPath}._Win32ExeError"], ac.Executable));
16861686
}
16871687
}
16881688

β€ŽSource/ImageGlass/ImageGlass.csprojβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Description>A lightweight, versatile image viewer</Description>
1515
<Copyright>Copyright Β© 2010 - 2025 Duong Dieu Phap</Copyright>
1616
<Company>Duong Dieu Phap</Company>
17-
<Version>9.3.2.911</Version>
17+
<Version>9.3.2.912</Version>
1818
<FileVersion>$(Version)</FileVersion>
1919

2020
<EntryPointExe>$(AssemblyName).exe</EntryPointExe>

β€ŽSource/ImageGlass/Properties/PublishProfiles/x64.pubxmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
99
<PublishDir>bin\Publish\x64</PublishDir>
1010
<PublishProtocol>FileSystem</PublishProtocol>
1111
<_TargetId>Folder</_TargetId>
12-
<TargetFramework>net9.0-windows10.0.17763.0</TargetFramework>
12+
<TargetFramework>net10.0-windows10.0.17763.0</TargetFramework>
1313
<SelfContained>true</SelfContained>
1414
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1515
<PublishSingleFile>false</PublishSingleFile>
10.3 KB
Binary file not shown.
10.3 KB
Binary file not shown.
10.3 KB
Binary file not shown.
10.3 KB
Binary file not shown.

β€ŽSource/igcmd/Properties/PublishProfiles/x64.pubxmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
99
<PublishDir>..\ImageGlass\bin\Publish\x64</PublishDir>
1010
<PublishProtocol>FileSystem</PublishProtocol>
1111
<_TargetId>Folder</_TargetId>
12-
<TargetFramework>net9.0-windows10.0.17763.0</TargetFramework>
12+
<TargetFramework>net10.0-windows10.0.17763.0</TargetFramework>
1313
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1414
<SelfContained>true</SelfContained>
1515
<PublishSingleFile>false</PublishSingleFile>

0 commit comments

Comments
Β (0)