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

setup for .net47 #81

Merged
merged 33 commits into from
Oct 31, 2023
Merged

setup for .net47 #81

merged 33 commits into from
Oct 31, 2023

Conversation

ankitdas13
Copy link
Contributor

@ankitdas13 ankitdas13 commented Aug 9, 2023

Added Support for .net 47

@ankitdas13 ankitdas13 requested a review from ra0van August 16, 2023 07:37
Razorpay.nuspec Outdated
@@ -15,10 +15,12 @@
<tags>Razorpay</tags>
<dependencies>
<dependency id="Newtonsoft.Json" version="11.0.2" />
<dependency id="Newtonsoft.Json" version="13.0.3" />
Copy link

Choose a reason for hiding this comment

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

Fix the Indentation.

Copy link

Choose a reason for hiding this comment

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

I believe there is a better way for handling multiple versions of the same assembly.
Refer this - https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/redirect-assembly-versions

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added

<dependency id="Newtonsoft.Json" version="[11.0.2,13.0.3)" />

Screenshot 2023-08-24 191129

[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Razorpay Software Private Limited")]
[assembly: AssemblyProduct("Razorpay.API")]
[assembly: AssemblyCopyright("Copyright © 2015")]
Copy link

Choose a reason for hiding this comment

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

CopyRight should have current year also right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to 2023

Copy link

Choose a reason for hiding this comment

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

Should it be 2015-2023?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also added in nuspec file

<Target Name="AfterBuild">
</Target>
-->
</Project>
Copy link

Choose a reason for hiding this comment

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

Add Empty line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net47" />
</packages>
Copy link

Choose a reason for hiding this comment

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

Add Empty line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@ankitdas13 ankitdas13 requested a review from ra0van August 24, 2023 13:54
Razorpay.nuspec Outdated
@@ -14,11 +14,12 @@
<copyright>Copyright 2015</copyright>
<tags>Razorpay</tags>
<dependencies>
<dependency id="Newtonsoft.Json" version="11.0.2" />
<dependency id="Newtonsoft.Json" version="[11.0.2,13.0.3)" />
Copy link

Choose a reason for hiding this comment

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

closing Brackets are not same. Please test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

using single version instead of multiple , also checked the v13.0.3 is compatible for old .net version as well.

Screenshot 2023-09-13 114701

@ankitdas13 ankitdas13 added the TestingNotRequired TestingNotRequired label for BVT label Oct 31, 2023
@ankitdas13 ankitdas13 merged commit 082248c into master Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TestingNotRequired TestingNotRequired label for BVT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants