[Mono-dev] Porting HttpApplication and associated classes
Miguel de Icaza
miguel at xamarin.com
Thu Nov 20 13:27:53 UTC 2014
> First, we need to the fork and sub-module up and running for the reference
> source, so I can doing pull requests on there.
The referencesource submodule is there
> Second, come up with a way to exclude code without deleting it (I'm
> assuming we won't to go down the #ifdef route rather than simply removing
> the code from the fork). I'm thinking there's probably something we can
> use already, so just need to know what that is. (something like #if !MONO
We should introduce a define, yes.
Perhaps we can introduce a "CROSS_PLATFORM" define that we use on the
Reference source to annotate those cases.
Third, Miguel had an idea of how to do the String resources so we don't
> need to refactor large amounts of the referencesource. The script needs
> work, and is probably a job in it's own right.
That will get you running for now ;)
Finally, as I won't be replacing every file, some will just have large
> amounts of additions/fixes, it's probably worth getting the legacy #ifdef's
> before I send a pull.
Nah, I think it is easy.
The way you replace a class, is to remove the file from the .sources and
add the new one. That should cover most bases.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list