3

FsXaml seems to be available only for projects targeting at least .NET 4.5.
It there a way to use it while targeting .NET 4.0?
If so how can I achieve this?

oli
  • 682
  • 1
  • 12
  • 21
  • Given Reed Copsey's answer, is there a reason you *need* to target .NET 4.0 and cannot target 4.5 or later? – rmunn Aug 31 '17 at 02:17
  • @rmunn I'm working on an addin for an application that runs on .NET 4.0. – oli Aug 31 '17 at 08:12
  • @rmunn If you install .net 4.5.2, it's an _in place_ upgrade of .NET 4 - so you can safely use 4.5+ features in an add on – Reed Copsey Aug 31 '17 at 19:07

1 Answers1

5

.NET 4.0 is not supported by FsXaml. Given that .NET 4.0 is no longer supported by Microsoft, I did not feel the need to try to support FsXaml in that version of the framework.

It there a way to use it while targeting .NET 4.0?

If so how can I achieve this?

It may be possible to rebuild this and target .NET 4.0. However, this will likely require modification of project files, and elimination of newer F# features that are used in the library. However, the source code is available, so you are more than welcome to attempt a port to target .NET 4 if you so choose.

Community
  • 1
  • 1
Reed Copsey
  • 554,122
  • 78
  • 1,158
  • 1,373