Files
astronomy/generate/dotnet/framework4/README.md
Don Cross 6425e4ef11 C#: More benefits from using netstandard2.0.
Now that I have retargeted astronomy.csproj from
net5.0 to netstandard2.0, there are a couple of
other little improvements that are now possible:

1. In my manual Framework 4 test project, instead
   of directly pulling in the source file astronomy.cs,
   add astronomy.csproj as a project reference.
   This demonstrates that the same binary astronomy.dll
   works in both Framework and Core.

2. Now there is no need/use for conditional compilation
   directives in the Astronomy.CubeRoot function.
   Instead, always use my own implementation since the
   Math.Cbrt function is never available.
   From a testing standpoint, this was probably
   the better option all along.
2022-06-05 10:07:35 -04:00

18 lines
732 B
Markdown

# .NET Framework 4+
The C# version of Astronomy Engine is targeted to
[.NET Standard 2.0](https://docs.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0).
Therefore, it supports .NET Framework 4+ and .NET Core 5+.
Currently I do all unit testing and development under .NET 6.
However, I make an effort to maintain backward compatibility
with .NET Framework 4+, although issues may slip through.
If you encounter problems with Framework builds, please submit
an issue and I will help you resolve them.
This directory contains a solution just to make sure
Visual Studio 2019 can build and run a simple program
in .NET Framework 4.7.2. It is a manual test only; it is not
included in the automated test suite.