Mono Compatibility with Enterprise Library 4.1 - mono

Does anybody using latest enterprise library 4.1 in mono? I used mono migration analyzer to analyze my web application and realized all enterprise library dll is failed in mono.
I need to know is that true that enterprise library 4.1 is not compatible in mono 2.4?

I have an update on this.
Enterprise Library 4.0 now Open Source

I initially played a little with getting EntLib 4.0 to run on Mono:
http://jpobst.blogspot.com/2008/10/smart-client-software-factory-on-mono.html
I don't know if anyone has tried EntLib 4.1. Unfortunately, I know nothing about EntLib other than trying to get that sample to work. It seemed extremely complex.
Probably the best way to find out would be to try running you application on Mono and see if it works.

Ent Lib 4.1 is not mono compatible yet. I will have to switch my plan to not to use it.

As far as I know, Unity is not yet Mono friendly.
Remember that you can always use Moma to check those DLLs.
I think both parties (MS and Novell) need to work closely to address those remaining issues.

Related

Sharpdevelop using Mono

Is it possible to run sharp develop on Linux using mono?
I have already tried it on wine but the only supported version is 2.n
This version does not support .Net 4.*
No, it is not. MonoDevelop is a fork from SharpDevelop precisely because at the time SharpDevelop could not run on Mono, and that has not signifcantly changed since then. In a way, this situation shows the flaw in Xamarin’s strategy of following MS .Net, which is a moving target. But MonoDevelop is useful for whatever is portable in .Net, which excludes MS VB.Net & WPF.

What is the minimum software I need to install in a windows machine in order to run a mono + gtk# application?

I have developed an application with mono and I would like to know what are the minimum libraries that need to be available in a windows machine, in order to run this app.
I've heard .net will suffice, no need to install the mono package for windows. Is this true? which .net version do I have to install?
BTW, my application uses GTK# as well.
Thanks in advance.
MonoDevelop is built on GTK#, its minimal requirements on Windows are,
.NET Framework 4
GTK# runtime
as stated in http://monodevelop.com/Download
Therefore, your application should require the same.
You need the installer present in the mono project download pages for Gtk#. Take a look at this question.
Technically, you would need also mono, but since this is for Windows, it will include the .NET installed. Unless it is a really old version of Windows.
Hope this helps.

Publishing an application in an old version of .NET

I've written a really simple launcher app for my team at work to use. However I wrote it in VB.net Express 2010 so its using .NET 4. I need it to be compatible with older machines that are using .NET 2 or maybe 2.5.
I don't want to force upgrading to a higher .net if its not needed. And in some cases we work on old machines that can't be upgraded. My app is really simple and I'll post the code if needed.
Please note, I am still a noob, my coding is ugly, and this is a quick and dirty tool.
You're looking for the Target Framework dropdown in Project Properties.

How to develop IronPython applications on Mono?

I might need to write some GUI application that runs on .Net (and Windows), while what I can work with is Mono (on Ubuntu and/or Gentoo). I am very familiar with Python; in addition, I understand that the Mono Windows.Forms assemblies seem to be satisfactorily usable (I've run successfully .Net applications using Windows.Forms).
What are the steps I would have to take to have an environment where I can develop stand-alone IronPython on a GNU/Linux maching? Also, I would very much appreciate some .Net-Mono compatibility pointers (e.g. things I should know or avoid).
I'm not looking for an IDE; I'm quite at ease using vim for my editing purposes, and I don't mind building GUIs programmatically.
Note: what I'm actually asking, is help with the following:
I obviously have to install IronPython; so I make sure my Mono packages are installed, then I run the IronPython installer (using Mono, obviously) just like I would on Windows? Will this make the IronPython assemblies available to Mono? If not, how can I do that? Ubuntu 9.10 has a package for IronPython, but it's not the latest version; at the same time, for compatibility purposes, I can't upgrade the Ubuntu installation. I can't find an ebuild for Gentoo.
Do I have to install any more assemblies?
After I successfully install IronPython, how do I create a .Net/Mono executable from my IronPython sources? Is there a “proper” way?
Is there a way to “embed” the IronPython (and any other required) assemblies in the final .exe?
Check Windows Forms section on IronPython Cookbook for hints about creating Windows Forms applications.
As to the environment, I would write the app in Mono and check it works on Windows. I would set up two virtual machines and any source control system to transfer sources between them.
The key part is to write and run tests so you can verify it works on both platforms. So you cannot use just GNU/Linux machine to be sure. But I think you can install Windows 7 for 30-days trial period.
I used to write WinForms tests so here is link to my blog and several other articles:
GUIAT blog
Acceptance Testing .NET Applications using IronPython
Functional Testing of GUI Applications
IronPython says it requires Reflection.Emit and lightweight code generation. FAQ iOS tends to frown on that kind of thing. So if you want to do iOS, you may be out of luck.

How to make vb.net apps portable?

Is it possible to make an vb.net application portable?
It is portable - build your .exe and copy it on your flash drive. Assuming it will be run where there is .net framework, there is no problem!
EDIT: A similar topic here: Writing USB Drive Portable Applications in C#
"portable" has more than one meaning, but if you mean a program that could also run on linux or mac than you need to think mono. Specifically, look at their migration analyzer.
Depends on what you mean by "portable". Certainly, you can build them without external dependencies on things like config files, registry settings, etc. You'll still need the .NET runtime installed on the target computer, though.
I seem to recall that you can use vb.net to write Silverlight apps; once compiled, this should be fairly portable (onto all Silverlight / Moonlight enabled browsers).
Of course, if you talk about web apps, the client (html) should already be portable, regardless of the server.
Whether it's a desktop application or a web application, the .Net framework needs to be installed on the machine that the app is run on. Generally, the .Net framework is installed with Windows.
It has to be the same version of the .Net framework as the app was developed in (1.0, 1.1, 2.0, 3.0, 3.5). Which version of the framework is installed depends on the version of Windows.
Just a thought!
Maybe you can make your app executable the normal way (with setup) and then make it into a portable application online using service described at
http://www.abtevrythng.com/2011/12/make-portable-applications-online-for.html#ixzz1flSBi6dZ
You can try to use the online portable app "converter" Cameyo to do it. Just install the Cameyo app, launch it, then install the application you made.
You must use VS 2015. Make all your reference dll's to be local copied. Build your solution (with no deploy file extension (publish-> options->deployment))and merge the exe file with your dll with ilmerge ( http://www.microsoft.com/en-us/download/details.aspx?id=17630 ) (download ILmerge-GUI too) from the Microsoft web site. And have good luck