I have a C# application of which some parts are written using WPF (which is not supported by Mono). Is it possible to compile this application on Linux? Ultimately, the application will run on Windows, but it is part of a larger framework and our entire build process runs on Linux, so I would like to be able to compile the C# application on Linux as well.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
Mono does not, and currently has no plans to support WPF, and by proxy, XAML. Where you might get a break with a subset of XAML is with Silverlight support via Moonlight. See http://www.mono-project.com/WPF for details.
I agree with the other answers, natively this doesn't seem possible.
If you have the appropriate licenses already you could look into running VMWare or Virtualbox to build it. Obviously memory usage and time requirements for the build will go up, it all depends on how much it matters to you that you can run it all on one box. I believe both support scripting.
I think the answer is NO for the moment.
The same question was asked here:
http://www.c-sharpcorner.com/UploadFile/kirtan007/1516/Default.aspx
Look at the last answer in this thread (a little bit of hope):
http://www.daniweb.com/forums/thread161098.html
This is definitely not possible, Mono lacks the build step that will compile your XAML to a binary format and embed it