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

找不到字段:“ShareX.ScreenCaptureLib.RegionCaptureOptions.BackgroundDimStrength” #7440

Open
vio-lin opened this issue May 13, 2024 · 1 comment

Comments

@vio-lin
Copy link

vio-lin commented May 13, 2024

新版本更新之后启动报错。
下面是本地log 上抄下来的。
还需要什么东西 我可以补充。

ShareX 16.1
2024-05-13 11:52:29.032 - URL opened: https://github.com/ShareX/ShareX/issues?q=is%3Aissue
2024-05-13 11:52:31.271 - ShareX continue.
2024-05-13 14:46:01.016 - ShareX starting.
2024-05-13 14:46:01.017 - Version: 16.1
2024-05-13 14:46:01.017 - Build: Release
2024-05-13 14:46:01.017 - Command line: "C:\Program Files\ShareX\ShareX.exe" 
2024-05-13 14:46:01.017 - Personal path: D:\Users\guo.lin\Documents\ShareX
2024-05-13 14:46:01.018 - Operating system: Windows 10 Pro (64-bit)
2024-05-13 14:46:01.018 - Running as elevated process: True
2024-05-13 14:46:01.047 - ApplicationConfig load started: D:\Users\guo.lin\Documents\ShareX\ApplicationConfig.json
2024-05-13 14:46:01.129 - Arguments received: ""
2024-05-13 14:46:01.621 - ApplicationConfig load finished: D:\Users\guo.lin\Documents\ShareX\ApplicationConfig.json
2024-05-13 14:46:01.695 - Unhandled exception:
System.MissingFieldException: 找不到字段:“ShareX.ScreenCaptureLib.RegionCaptureOptions.BackgroundDimStrength”。
   在 ShareX.SettingManager.ApplicationConfigBackwardCompatibilityTasks()
   在 ShareX.SettingManager.LoadApplicationConfig(Boolean fallbackSupport)
   在 ShareX.SettingManager.LoadInitialSettings()
   在 ShareX.Program.Run()
   在 ShareX.Program.Main(String[] args)
@erbanku
Copy link

erbanku commented Jun 2, 2024

可能原因是版本更新导致的配置不兼容,可否试试删除配置文件(请先进行备份),再打开试试呢?这会让ShareX在下次启动时重新生成一个新的配置文件,可能可以帮您解决问题。

配置文件通常位于Documents\ShareX目录下,名为ApplicationConfig.json

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