Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception. System.IO.FileNotFoundException: %PATH%\Core.dll #127

Open
iteterin opened this issue Nov 4, 2024 · 2 comments
Open

Comments

@iteterin
Copy link

iteterin commented Nov 4, 2024

Версия: 2.6 (https://github.com/OnlyFart/Elib2Ebook/releases/tag/2.6.0) - Elib2Ebook-windows-latest-portable.zip
Дотнет рантайм и SDK стоят. Терминал запущен от администратора. При запуске возникает ошибка:

PS E:\Tools\E-Book\Elib2Ebook-Windows-portable> .\Elib2EbookCli.exe --help

Unhandled exception. System.IO.FileNotFoundException: E:\Tools\E-Book\Elib2Ebook-Windows-portable\Core.dll
   at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
   at Elib2EbookCli.Program.<>c__DisplayClass0_0.<Main>b__1(IEnumerable`1 errs) in D:\a\Elib2Ebook\Elib2Ebook\Elib2EbookCli\Program.cs:line 30
   at CommandLine.ParserResultExtensions.WithNotParsed[T](ParserResult`1 result, Action`1 action)
   at Elib2EbookCli.Program.Main(String[] args) in D:\a\Elib2Ebook\Elib2Ebook\Elib2EbookCli\Program.cs:line 27
   at Elib2EbookCli.Program.<Main>(String[] args)

PS E:\Tools\E-Book\Elib2Ebook-Windows-portable> .\Elib2EbookCli.exe
Unhandled exception. System.IO.FileNotFoundException: E:\Tools\E-Book\Elib2Ebook-Windows-portable\Core.dll
   at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
   at Elib2EbookCli.Program.<>c__DisplayClass0_0.<Main>b__1(IEnumerable`1 errs) in D:\a\Elib2Ebook\Elib2Ebook\Elib2EbookCli\Program.cs:line 30
   at CommandLine.ParserResultExtensions.WithNotParsed[T](ParserResult`1 result, Action`1 action)
   at Elib2EbookCli.Program.Main(String[] args) in D:\a\Elib2Ebook\Elib2Ebook\Elib2EbookCli\Program.cs:line 27
   at Elib2EbookCli.Program.<Main>(String[] args)

PS E:\Tools\E-Book\Elib2Ebook-Windows-portable> .\Elib2EbookCli.exe --version
Unhandled exception. System.IO.FileNotFoundException: E:\Tools\E-Book\Elib2Ebook-Windows-portable\Core.dll
   at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
   at Elib2EbookCli.Program.<>c__DisplayClass0_0.<Main>b__1(IEnumerable`1 errs) in D:\a\Elib2Ebook\Elib2Ebook\Elib2EbookCli\Program.cs:line 30
   at CommandLine.ParserResultExtensions.WithNotParsed[T](ParserResult`1 result, Action`1 action)
   at Elib2EbookCli.Program.Main(String[] args) in D:\a\Elib2Ebook\Elib2Ebook\Elib2EbookCli\Program.cs:line 27
   at Elib2EbookCli.Program.<Main>(String[] args)

Установленный дотнет:

dotnet --list-sdks
8.0.400 [C:\Program Files\dotnet\sdk]
8.0.403 [C:\Program Files\dotnet\sdk]
PS E:\Tools\E-Book\Elib2Ebook-Windows-portable> dotnet --list-runtimes
Microsoft.AspNetCore.App 6.0.33 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.33 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.33 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Данные об ОС:

Имя ОС:                                  Майкрософт Windows 11 Pro
Версия ОС:                               10.0.26100 Н/Д построение 26100
Изготовитель ОС:                         Microsoft Corporation
Конфигурация ОС:                         Изолированная рабочая станция
Тип сборки ОС:                           Multiprocessor Free
Код продукта:                            00330-80000-00000-AA032
Тип системы:                             x64-based PC
Язык системы:                            ru;Русский
Язык ввода:                              en-us;Английский (США)
@iteterin
Copy link
Author

iteterin commented Nov 4, 2024

Сборка с сурцов такой проблемы конечно же не несет. Собирается без ошибок, использует скомпилированную либру. Может в портабл "либра" не втянулась? Если положить в портабл версию собранную из проектов DLL Core.zip до все едет :) Может чего не запаковалось.. @alfeg

@alfeg
Copy link
Contributor

alfeg commented Nov 5, 2024

@iteterin гляну чуть позже, что-то отдаленно знакомое

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants