-
Notifications
You must be signed in to change notification settings - Fork 51
Use .NET mono and ship Trifle as a standalone distribution? #39
Comments
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. |
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. |
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. |
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!! :) |
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. |
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.. |
Yup, I'm waiting for that excite moment too, lol |
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?
The text was updated successfully, but these errors were encountered: