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

add dependency groups in nuspec for netframework462 and net6 #257

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

srprash
Copy link
Collaborator

@srprash srprash commented Jul 13, 2022

Issue
The support for .NetFramework 4.6.2 and .Net 6.0 were added to the SDK in the following PRs:
#248
#242

But we missed out on adding these frameworks in the AWSXRayRecorder.nuspec which is used to create the bundle package.

Description of changes:
Adding a dependency group each for target frameworks ".NetFramework4.6.2" and "net6.0". Unfortunately, the nuget spec doesn't provide a way to group target frameworks for common set of dependencies. This results in quite a bit of redundancy in the file.

I tested creating the AWSXRayRecoder.nupkg by running the following command and validated the package using the nuget explorer.

  • command:
.\nuget pack .\sdk\AWSXRayRecorder.nuspec -OutputDirectory .\Deployment\nuget-packages -Exclude **
  • screenshot of nuget explorer:
    Screen Shot 2022-07-12 at 5 30 02 PM

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@srprash srprash requested a review from a team as a code owner July 13, 2022 05:31
@srprash srprash requested a review from NathanielRN July 13, 2022 05:33
Copy link
Contributor

@NathanielRN NathanielRN left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@jon-armen
Copy link
Contributor

@srprash , @NathanielRN - Thanks for catching and adding. Does this mean we get a release soon?

@srprash
Copy link
Collaborator Author

srprash commented Jul 13, 2022

@jon-armen We are working on a release. Please stay tuned! 🙂

@srprash srprash merged commit 2231504 into aws:master Jul 13, 2022
@srprash srprash deleted the update_nuspec branch July 13, 2022 17:01
srprash added a commit to srprash/aws-xray-sdk-dotnet that referenced this pull request Jul 13, 2022
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