我在 silverlight 项目的资源文件中添加了一个键。在构建此项目并在应用程序中替换其 XAP 文件 clientBin 后,它给了我以下错误
"An exception occurred while initializing module 'SubmissionRequerimentsVM'.
- The exception message was: An exception has occurred while trying to add a view to region 'WorkAreaRegion'.
- The most likely causing exception was was: 'System.Windows.Markup.XamlParseException: No matching constructor found on type 'CAN.AMI.Contracts.RenewalsSubmissionRequeriments.My.Resources.Resources'. [Line: 22 Position: 40] ---> System.MissingMethodException: No parameterless constructor defined for this object.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
请帮助我解决这个问题,因为我被困在其中并且找不到任何解决方案。