开发者

C# Compile Issue

开发者 https://www.devze.com 2023-01-20 08:20 出处:网络
An unhandled exception of type \'System.TypeInitializationException\' occu开发者_运维百科rred in Microsoft.VisualStudio.HostingProcess.Utilities.dll

An unhandled exception of type 'System.TypeInitializationException' occu开发者_运维百科rred in Microsoft.VisualStudio.HostingProcess.Utilities.dll

Additional information: The type initializer for 'BobTyler.Program' threw an exception.

'BobTyler.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'

Any advice? Thanks.


My guess is that you´ve got a configuration setting in your BobTyler.exe.config (/app.config in the solution project) that isn't of a proper type. Check all entries under and make sure that they´re mapped to proper types.

0

精彩评论

暂无评论...
验证码 换一张
取 消