Reputation: 3993
I know there are tools like Salamander that can compile a .NET WinForms apps to fully native code with no need for the CLR/.NET Framework to be on a machine. Is this possible for WPF apps as well?
Upvotes: 2
Views: 2345
Reputation: 17969
You can also take a Viewmodel approach with the WPF logic all mapped through to native business logics with command and property binding using C++/CLI, as I described in a presentation last year.
Upvotes: 0
Reputation: 564413
According to this page, Salamander supports .NET Framework 3.5, which would suggest that WPF is supported.
That being said, I've yet to see a tool like this that supports WPF well. There is much in WPF that is handled via runtime object metadata.
In addition, trying to avoid the need to install the CLR typically causes more problems than it solves. Having the CLR installation be a requirement should not be a problem, especially now, for any reasonable application.
Upvotes: 1