我的应用程序以 .NET Framework 3.5 客户端配置文件为目标,并且我的设置被配置为使用在线安装程序安装此框架,但有时(12000 个用户中有 3 个用户)应用程序会引发以下异常:
Method not found: 'System.Windows.Threading.DispatcherOperation System.Windows.Threading.Dispatcher.BeginInvoke(System.Delegate, System.Object[])'
我还收到来自 Visual Studio 2010 代码分析工具的以下警告:
Warning CA1903 : Microsoft.Portability : Member
'Settings.SearchForApplicationRelease_bgWorker(object, DoWorkEventArgs)' uses member 'Dispatcher.Invoke(Delegate, params object[])'. Because this member was introduced in
。网Framework 3.0 Service Pack 2, which was not included in the project's target
framework, .NET Framework 3.5, your application may fail to run on systems without this
service pack installed.
我已经尝试了几个系统,但我无法重现此异常。
我该如何解决?
用户是否有可能拥有损坏的 .NET Framework 版本?
谢谢,科斯敏