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

feat!: upgrade .net framework to 4.6.2, remove deprecated methods, remove use_index references, return proper object from GetFileVersionsUnderRetentionForAssignmentAsync #881

Merged
merged 7 commits into from
Jan 12, 2023

Conversation

mwwoda
Copy link
Contributor

@mwwoda mwwoda commented Jan 10, 2023

No description provided.

Copy link
Contributor

@arjankowski arjankowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@@ -1,40 +1,29 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp2.0;netcoreapp2.2;netcoreapp3.1;net5.0;net6.0;net45</TargetFrameworks>
<TargetFrameworks>netcoreapp2.0;netcoreapp2.2;netcoreapp3.1;net5.0;net6.0;net462</TargetFrameworks>
Copy link
Contributor

@JanVargovsky JanVargovsky Jan 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason why you keep targeting core beyond EOL? Currently, only net6 and net7 are supported, see here. I'm ignoring the .net framework, haven't worked with it for a few years :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our Box.V2.Core package still targets .NET 2.0 standard, which technically still supports old versions of .NET Core. To reflect that we target these versions in our test projects.

This is a relic from the past. We currently have two packages that we produce from the same code base. One that targets the good old .NET Framework and another that targets .NET Standard (the goal for it is to be used with .NET Core). This is not an ideal scenario, as we could simply have one package that targets .NET Standard because it supports both Core and Framework or target .NET Core explicitly in one of the packages, so we could officially drop support for those old versions and target the current one. This is something we might consider in the future, as it could break some of our clients. We don't use e.g. new language features from newer .NET so I don't think it's super important at the moment.

@mwwoda mwwoda merged commit f1989aa into main Jan 12, 2023
@mwwoda mwwoda deleted the version-5 branch January 12, 2023 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants