我在基于表单的C#应用程序中进行了更改,其中更改了一些对话框以不再处理资源的多个语言环境(放弃翻译所有文本)。这样做以来,该应用程序现在无法加载,因为它显示(FUSLOGVW):
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = AutoTagCore.resources, Version=16.1.73.0, Culture=en-US, PublicKeyToken=200c326bc129ca1f
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Windward Studios/Windward Report Designer/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : AutoTagCore, Version=16.1.73.0, Culture=neutral, PublicKeyToken=200c326bc129ca1f.
为什么/为什么要构建然后需要一个.resources文件?
谢谢-戴夫