2

I am porting a C# app from .NET on Windows to Mono on Linux (both using .NET 4.0). When compiling the code I get the following code:

Error CS1061: Type System.AppDomain does not contain a definition for FirstChanceException and no extension method FirstChanceException of type System.AppDomain could be found. Are you missing an assembly reference? (CS1061) (V8.Net-Console)

for the following code:

AppDomain.CurrentDomain.FirstChanceException += CurrentDomain_FirstChanceException;

When looking at AppDomain via Assembly Browser I do not see any definition for FirstChanceException. Is it missing from Mono or is it some issue on my machine? If it is missing, what alternative is available?

4

1 回答 1

3

根据包含 AppDomain 类的源文件,这还没有在 Mono 上实现。

于 2013-08-28T18:12:13.447 回答