我正在使用来自 nuget的新 .NETEventSource
API 。我已经构建了我的应用程序,并使用wevtutil.exe
. 当我在事件查看器中查看它们时,我的事件日志条目包括以下文本:
The description for Event ID 1 from source XXXX cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
the message resource is present but the message is not found in the string/message table
消息的最后一部分似乎特别值得注意:“消息资源存在,但在字符串/消息表中找不到消息。”
为什么我的资源 DLL 不起作用?