Hi! The .csproj files are auto-generated and not used by the Mono build. You need to edit the .sources file, e.g. in mcs/class/System/System.dll.sources. As a best practice, don’t add new classes in mcs/class/referencesource since the folder contains code we copy in from the referencesource repository. A better place is the mcs/class/System/System.Net<http://system.net> folder.
- Alex On 14 Nov 2016, at 14:41, Antoine Cailliau <[email protected]<mailto:[email protected]>> wrote: Hi, I'm patching mono to support MPTCP Socket API. I'll use this thread to group my questions. My implementation is very similar to the one supporting Linger options. I added new classes in /mono/mcs/class/referencesource/System/net/System/Net/Sockets, for example MPTCPSubIds.cs. I updated the cproj file to reference my class. I can't, however, reference it in my code. Indeed, it is not present in the compiled System.dll. I can create an instance at runtime using mono_class_load_from_name and mono_object_new_checked. My guess it that I miss a file to update in order to make it available in System.dll. Thanks in advance, Antoine _______________________________________________ Mono-devel-list mailing list [email protected]<mailto:[email protected]> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.dot.net%2Fmailman%2Flistinfo%2Fmono-devel-list&data=02%7C01%7Calkpli%40microsoft.com%7C70cfcdf03d764cf6286708d40c93f158%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636147276959188274&sdata=cB4fC0Kp7%2FrXGr9AltKxuXfHdF%2FeIqN8xoy8cX7ytCg%3D&reserved=0
_______________________________________________ Mono-devel-list mailing list [email protected] http://lists.dot.net/mailman/listinfo/mono-devel-list
