Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incompatibility with .NETFramework v4.0 #105

Open
shamimzn opened this issue Jan 29, 2025 · 2 comments
Open

incompatibility with .NETFramework v4.0 #105

shamimzn opened this issue Jan 29, 2025 · 2 comments

Comments

@shamimzn
Copy link

My .NET Framework version is 4.0, and for some reason, I am unable to upgrade it. Is there any way I can use this DLL with .NET Framework 4.0?

@DJGosnell
Copy link
Contributor

DJGosnell commented Jan 29, 2025

We are currently targeting .netstandard 1.0 which has a compatibility back to .net 4.5. See the following compatibility chart for framework compatibility. https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-1-0

The issue is that targeting the .NET Framework < 4.5 is more complicated and will only be possible to build on windows while the current CI pipeline runs on Ubuntu.

The easiest thing for you may to just copy the entire psychrolib.cs file and put it into your project. It should be compatible.

@shamimzn
Copy link
Author

Thank you for your response!
Yes, I already copied the entire psychrolib.cs file into my project, and it works perfectly.
Previously, I had implemented two methods to convert Wet Bulb to Humidity and vice versa based on existing formulas found online, but I always encountered significant discrepancies. However, this class has made my life so much easier! 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants