Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Use .NET mono and ship Trifle as a standalone distribution? #39

Closed
mkliu opened this issue Jan 27, 2015 · 7 comments
Closed

Use .NET mono and ship Trifle as a standalone distribution? #39

mkliu opened this issue Jan 27, 2015 · 7 comments

Comments

@mkliu
Copy link

mkliu commented Jan 27, 2015

I'm running into this problem when trying to deploy on different servers. Sometimes I need to install .NET framework, sometimes I need to install some distributable. Since .NET is open sources with mono runtime, Is it feasible to include them so trifle doesn't have to depend on external dependencies?

@sdesalas
Copy link
Owner

The VC9 distributable dependency should now be included in the latest binary. For more info see this post. While I am not 100% this will have made the issue go away (I havent had a chance to test yet), I am around 85% sure.

WRT mono project: I would not recommend using TrifleJS with .NET mono as you will find a host of other problems that arise from the different behaviour in WebBrowser control and in implementation of InteropServices.

As for the .NET version. You need .NET 3.5 installed which should come bundled up with Win7 and above. For older versions of windows I would recommend downloading full install binaries for v3.5 and making part of your deployment process.

@sdesalas
Copy link
Owner

Actually now I think about it, I need to remove the message asking for the distributables to be installed now they are bundled up... reopening issue.

@sdesalas sdesalas reopened this Jan 27, 2015
@sdesalas sdesalas added the bug label Jan 27, 2015
@sdesalas sdesalas added this to the Core API milestone Jan 27, 2015
@sdesalas
Copy link
Owner

If you want to do this yourself just comment out lines 223-234 in Program.cs. Then run Build\Build.TrifleJS.bat, you dont need VisualStudio installed.

@sdesalas
Copy link
Owner

Hi @mkliu,

It would be great if you can give a pointer as to how the bundling up of VC9 dependencies worked with your various deployments, I am always short of time to test and anything you can save me would be much appreciated.

Ta!! :)

@mkliu
Copy link
Author

mkliu commented Jan 28, 2015

I don't have a pointer, just a thought since .NET is going open source. Let me explore once I have some free time. But I'm expecting to see some weird problems coz fiddler on linux which was based on mono was awful.

@sdesalas
Copy link
Owner

No problems. Please read the wiki, there is an FAQ section there. Many ppl ask me if trifleJS will work on Linux/OSX, the short answer is no.

However I notice you do some other work with Docker, it's worth waiting for windows dockerization which is supported in new OSs sometime down the line..

@mkliu
Copy link
Author

mkliu commented Jan 28, 2015

Yup, I'm waiting for that excite moment too, lol

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants