-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion for implementing checker.GetProjectOptionsFromProjectFile in a separate process #371
Comments
How do you set assembly redirects on a new process?
I think it is fine to always run in a new process.
You said before that XS runs the resolution in a separate process, would you mind linking to that (sorry if you already did before)? I'm wondering how they handle sending the data back and forth.
Nice idea, but I don't really know anything about AppDomains. Do they provide sufficient isolation? |
I believe the format is normal remoting. It uses a Which is created here: In this instance the process thats invoked (MonoDevelop.Projects.Formats.MSBuild.exe) has an assembly redirect in its config. |
Sorry, I don't know anything about .NET remoting. Is it possible to return .NET types? So the idea here is to have a little shim executable that uses MSBuild, and it uses an assembly redirect to get the most up to date version available? That sounds perfect, as presumably then FCS the library could lose the dependency it currently has. If you find time to start a branch, I will try to help testing and debugging it. |
Ive ended up doing this locally as part of the F# addin |
Ah cool, so it works for iOS and Android now? Could you link me to the implementation so I can copy it please? |
Ive only tried it as a prototype, Ive had to leave it for now to work on On 31 July 2015 at 10:15, Robin Neatherway [email protected] wrote:
|
Implemented in #470 |
Issues #366 and #342 both require either assembly redirects in a seperate process or some form of reflective binding. I created this issue to discus how we want this implementing.
Rather than a separate process, maybe we could use
AppDomainSetup.ConfigurationFile
andAppDomain.CreateDomain()
before runningchecker.GetProjectOptionsFromProjectFile
in the new appdomain.//cc @dsyme @rneatherway
The text was updated successfully, but these errors were encountered: