-
Notifications
You must be signed in to change notification settings - Fork 867
[V4] Remove and adjust unused targets NET35 and NET45 from codebase. #3636
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
base: development
Are you sure you want to change the base?
Conversation
$dllpath = "..\lib\net472\AWSSDK.Core.dll" | ||
$sdkassembly = [System.Reflection.Assembly]::LoadFrom($dllpath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@normj do you know why this is here? The script doesn't even use $sdkassembly but I figured you added this long ago for some kind of preloading that is needed from AWSSDK.Core.dll for the script to work. Second I am not certain we even need this script anymore.
80e7990
to
6da806e
Compare
@@ -384,17 +384,11 @@ public static string FromValueTypeList<T>(List<T> values) where T : struct | |||
} | |||
// See https://datatracker.ietf.org/doc/html/rfc7231.html#section-7.1.1.1 | |||
// FromDateTimeToRFC822 is compatible with IMF-fixdate | |||
#if NET35 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few places where we use BCL35
: https://github.com/search?q=repo%3Aaws%2Faws-sdk-net%20BCL35&type=code
Should we remove them too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I didn't search for that string but that is a good find. I will clean that up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Latest code cleaned up BCL35 and also AWS_ASYNC_API (manual changes only in this PR). DryRuns in progress.
6da806e
to
e661de2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean and thorough, LGTM
Description
NOTE: The
docgenerator\AWSSDKDocSamples
project still has a reference to AWSSDK v2 and is using net35. This solution/project does not build or run. Attempted to update to net8 but the project has many build errors and will not compile without fixing the generated sample code. This is a larger effort that will need to be addressed as another task.Motivation and Context
This is a cleanup task to ensure we have removed net45 and net35 targets.
SIM:
DOTNET-7610
Testing
Original DryRun (Succeeded - 2025-07-01): DRY_RUN-9c27101a-ddb8-4f7d-a4bb-8cbda5c1f43b
Latest PS5 dry run (Running): DRY_RUN-16f54f95-22a2-458f-864f-dc6863b4f94b
Latest .NETv4 dry run (Running): DRY_RUN-647d35d4-be6f-4408-bbb1-00e6832540e2
Screenshots (if appropriate)
Types of changes
Checklist
License