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

[V4] Remove and adjust unused targets NET35 and NET45 from codebase. #3636

Draft
wants to merge 1 commit into
base: v4-development
Choose a base branch
from

Conversation

boblodgett
Copy link
Contributor

@boblodgett boblodgett commented Feb 4, 2025

Description

  • Cleaned up references to net35 by removing the code.
  • Changed net45 to net472 where needed
  • Removed net45 and net35 csproj cleanup no longer needed
  • Updated solution files to netframework.csproj where still pointing to missing net45.csproj

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

DryRun (Succeeded): DRY_RUN-59f922a9-6d50-45c6-8990-e65290ac7b70

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have read the README document
  • I have added tests to cover my changes
  • All new and existing tests passed

License

  • I confirm that this pull request can be released under the Apache 2 license

Comment on lines +4 to 5
$dllpath = "..\lib\net472\AWSSDK.Core.dll"
$sdkassembly = [System.Reflection.Assembly]::LoadFrom($dllpath)
Copy link
Contributor Author

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.

@@ -1497,55 +1497,6 @@ private static void RemoveOrphanedServices(string path, IEnumerable<string> code
}
}

/// <summary>
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we need to keep this here as long as we're doing syncs from V3? Any new service will have the _bcl35 folder for example.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should hold onto this PR until we are ready for GA then and merge it after we do the final sync. Perhaps it was too early to do this cleanup.

@boblodgett boblodgett marked this pull request as draft February 7, 2025 15:53
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.

2 participants